Why can't I get my HTML code to show an image?

  • Thread starter Thread starter Hameem
  • Start date Start date
H

Hameem

Guest
here's my source code:
<html>
<body>

<h1>This is a heading</h1>
<h2>This is a heading</h2>
<h1>This is a heading</h1>

<p>This is a pragraph</p>
<p>This is another paragraph</p>

<a href="http://www.google.com">This is the link to google</a>

<p>This is<br />a para<br />graph with line breaks</p>

<img scr="pad.gif" width="250" height="150">

</html>
</body>

Now, all the things are working fine except the browser (Firefox 3 and/or IE 7) won't show the image. Its showing the border for the image though. And the image is in the same directory as the html page and i didn't misspell the name either.
Thank you very much dmg.
Embarrassing mistake.
 
You have a mispelling.

"image scr" should be "image src"

Edited: No need to be embarassed, I frequently assume the problem is more complicated than it is and it can blind you to the obvious.
 
Back
Top