|
-
Feb 1st, 2012, 11:14 PM
#1
Thread Starter
Fanatic Member
Re: What is the error in this line of code
 Originally Posted by SambaNeko
You can either write the path to the image beginning at the web root (this is known as an "absolute" path), or you can write it in relation to the directory where the HTML file is (a "relative" path).
Absolute paths begin with a / (or with the full domain name) and must include every directory between the root and the image, eg. "/subfolder/images/myImage.jpg"
Relative paths begin with either the name of a directory that resides in the same location as the HTML file, or with a ".." to signify the parent directory of the HTML file, eg. "images/myImage.jpg" or "../othersubfolder/images/myImage.jpg"
Now Samba i have change the code like this.
<img src = "ss.jpeg">
the picture which is on my desktop, along with the web page on desktop too, is named as ss.jpeg. But it's still not displaying picture. so how do i do this now? Please guide me.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|