Reputation: 69
<HTML>
<BODY style ="background-color:pink;">
<H1 STYLE="margin-left:100px;"> AEROSPACE </HI>
<h2>PHOTOS </h2>
<img border="0" src="C:\Documents\baburaj.SIT.INDIA\Desktop\IMAGE\2.jpg" width="304" >
</body>
</html>
i cannot display the images through my code given above.What change i have to do to display the image ?
Upvotes: 0
Views: 478
Reputation: 11
Try saving the image to same folder as the page so that instead of giving the full path of that image you can write 2.jpg
<img border="0" src="2.jpg" width="304" >
Also provide space between attributes.
Upvotes: 1
Reputation: 1370
Desktop
--HTML CODES
--index.html
--IMAGES
--2.jpg
I assume these are your current directories. If you call an image from Desktop\HTML CODES
you have to provide a valid path.
For further reading refer to http://webdesign.about.com/od/beginningtutorials/a/aa040502a.htm
Upvotes: 1