It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

LINKING TO A DOCUMENT. NOOBY QUESTION.

LINKING TO A DOCUMENT. NOOBY QUESTION.

Postby RUNEMASTER on Tue Nov 15, 2005 4:47 pm

I was just experimenting with html and wanted to know how I could make a simple web page with a hyperlink to a picture on my desktop.

Heres the code, but what is wrong with it? Thanks.

<html>
<head>
This is about linking.
</head>
<title>
my picture
</title>
</head>
<body>
<h1>Here I will link to<a> href="C:\Documents and settings\all

users\desktop\cassavetes002.jpg"a picture on hard drive</a><h1>
<body>
</html>
RUNEMASTER
 
Posts: 0
Joined: Tue Nov 15, 2005 4:40 pm

Postby jhonbob3 on Tue Nov 15, 2005 5:02 pm

I believe (I could be wrong) that you have to be running your own webserver, i.e. not be on someone elses webspace such as apache or something.

Also your code for the link won't work as is.
Code: Select all
<h1>
Here I will link to
     <a href="C:\Documents and settings\all users\desktop\cassavetes002.jpg">a picture on hard drive
     </a>
</h1>


Try that instead.

-me
User avatar
jhonbob3
 
Posts: 45
Joined: Wed Nov 09, 2005 4:02 am


Who is online

Users browsing this forum: Yahoo [Bot] and 7 guests