Jump to content

Unable To Insert Images


XavierT
 Share

Recommended Posts

Hello!

 

I am slowly learning HTML with your tutorials which have been very helpfull. I did my first large HTML code excercise and in general I think it went well. However, I still can't insert any images succesfully. I don't have Adobe Dreamweaver, or any other editors that were sugested to work HTML. I am making all of my practices on my PC's Notepad. Maybe that has something to do with it?

Here is part of the code where I'm stuck: (I can send you the whole <body> if that would help...)

 

 

<p> Below is a sample of one of our best sellers. Feel free to <a href="http://www.DSO.com"> contact</a> us for more information.</p>
<img src="Apochromatic.jpg" alt="DSO.com" width="430" length="430"/>
I downloaded the photograph from the internet (an astronomy store at random as it was only an excercise) and saved it in my windows photo gallery. I have gone over the example in the tutorial many times and I just don't know what I am doing wrong.
Any help would be greatly appreciated!
Link to comment
Share on other sites

There is no such attribute as length, the img src value must match filename and extention exactly, the file must be at the same location as the html file that references it.When using notepad you have to save it with encoding option UTF 8.If using windows, it usually set up to hide file extensions of known file types, so if you are not careful you could save it as mypage.html, but with hidden extension, it could be saved as mypage.html.txt.

Link to comment
Share on other sites

Just make it sure that your html file and image is on a one folder(as a beginner), but if you know the exact path of the image then put it on the src.

Edited by WebOutsourcingGateway
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...