Help! IMG tag

+3 ahmed azzouz · January 17, 2015
hi i'm learning xhtml&CSS i got stuck in 9th tutorial because i did the tag correctly copied the image to the same place as my webpage and wrote the name.extention correctly as you can see down but all i get is that when a picture isn't loading like this
http://s57.photobucket.com/user/Afrocal/media/Screenshot2012-02-16at165827.png.html
here is the very simple beginner instructions :3
</doctype html!>
<html>
<head>
<title>this is the title !</title>
</head>

<body>
<img src="chess.jpeg" />
</body>

</html>

Post a Reply

Replies

Oldest  Newest  Rating
+1 ahmed azzouz · January 22, 2015
Thanks but the problem is solved already
+1 ahmed azzouz · January 18, 2015
thanks you all guys for explaining 
0 Arnab Banerjee · January 20, 2015
Make sure that you get your image in the same folder where you are saving all your html files. And double check the image name (names are case sensitive) and also make sure you are using exactly correct extensions, if you do these things right your code should not have any kind of problems. :)
0 ahmed azzouz · January 18, 2015
Thanks i hope it works because im not using computer ill tell you in both ways if it worked or no
0 ahmed azzouz · January 18, 2015
still not workin :'(
0 Mike Conroy · January 18, 2015
The code you posted should work. Are you sure the image "chess.jpeg" exists in the same folder as the html file?
0 ahmed azzouz · January 18, 2015
thanks Martijn the jpg worked :) but i'm wondering why it wont read the jpeg...thanks again
0 Leon Lauritsen · January 18, 2015
The reason why it dont wanna read the .jpeg is because that the HTML creators choosed so xD :D 
0 Bernard Pyc0d333 Parah · January 18, 2015
jpeg is the file type while jpg is the extension.
mostly you use .gif,.png or jpg for image extensions.
the code  recognizes extensions.

just like mp4,mp3 etc are  extensions for mpeg, .exe for executable files, etc.
  • 1

HTML / CSS / Web Design

107,342 followers
About

Discuss, share, ask, learn and teach HTML5 and CSS3.

Links
Moderators