Help - Search - Members - Calendar
Full Version: html editing, need desperate help with images
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
trenchcoat
Hello, I am currently studying how to create a web page(web site) through html codes. Where I design my web page with tags, attributes, and elements, by typing in the codes... I have figured out a great deal so far on html editing, but for some reason that I cannot understand, I am having great problems on embedding images in the html file. I understand that the tag for this function is:

<img src="example" width="?" height="?" alt="example" />

If I am not correct on the above tag and its attributes, please correct me... but my main problem is that I type in the URL of the image into the tag and for some reason, when I browse the page, my image is not there, but instead a blank box with an "x" in the top left corner. For 4 days I have been struggling with this matter and I am exhausted of my attempts to embed an image into a html file.

Any advice, words of wisdom, ANYTHING! I need help please, can some one help me out????


desperate website designer Cody
pandy
So the URL to the image is wrong. See some common mistakes here: http://htmlhelp.com/faq/html/images.html#broken-image . If that doesn't help, please post the URL to the page and we can help you find the error.

Your sample image tag is correct. But please note that the space-slash to close it is OK only in XHTML. If you write HTML, which I think you should until you know enough to make a choice, don't use the slash.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.