dsmvsp Posted March 14, 2006 Share Posted March 14, 2006 In HTML i create the sample program but i am not getting the image.Actually the image is in the c drive but i am not getting the image .whats the wrong in it <html><head><title> MYWEBSITE </title> </head><p><body bgcolor="green"><img src="c:\saibaba.gif"width="144" height="50"></p><b> This is my first homepage.</b></body></html> Link to comment Share on other sites More sharing options...
smiles Posted March 14, 2006 Share Posted March 14, 2006 your image ' s path is not full ??? Link to comment Share on other sites More sharing options...
real_illusions Posted March 14, 2006 Share Posted March 14, 2006 put the image in the same folder as your webpagethen just do <img width="144" height="50" alt="saibaba" src="saibaba.gif">remember the "alt" alttribute. it helps in that if its slow loading, the user knows what its going to be before its loaded. Link to comment Share on other sites More sharing options...
dsmvsp Posted March 14, 2006 Author Share Posted March 14, 2006 Still i am not able to get the resultpls tell me the exact error from the below program<html><head><title> MYWEBSITE </title> </head><p><body bgcolor="pink"><img width="144" height="50" alt="saibaba" src="c:\saibaba.gif"></p><b> This is my first homepage.</b></body></html> Link to comment Share on other sites More sharing options...
real_illusions Posted March 15, 2006 Share Posted March 15, 2006 its best to reply to your existing topic than to create a new one. it makes things alot easier for everyone.did you try what i mentioned?put the image in the same folder as the webpage.if you dont tell us what your doing, or what you've tried, then we cant help you without shooting around in the dark.the code is right, except i've never seen an image just placed in the C: drive, on its own, and in no folders. and you cant do this - <p><body bgcolor="pink"><img width="144" height="50" alt="saibaba" src="c:\saibaba.gif"></p>it needs to be<body><p><img width="144" height="50" alt="saibaba" src="c:\saibaba.gif"></p>although the 'p' tags can be done away with, and a <br> tag on the end to make a line break.and the text should go inbetween the 'p' tags<p>this is my first homepage</p> Link to comment Share on other sites More sharing options...
Jonas Posted March 15, 2006 Share Posted March 15, 2006 Please don't make a new thread for the same topic, try to stick to one. If you have trouble finding your thread when getting on, I suggest once you've made it, you bookmark it or write down the title of the thread so you can do a search. Thank you.Merged topics. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now