Images don't appear in html. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 6

Images don't appear in html.

When i put the tag of image ( <img src="" alt="" /> ) in the html code on my pc. And open the web to see my work in, images don't appear, but alt value appears. I put the image in the folder i work in. And put the name of image in the src, but it does't appear. What's the reason, and how can i solve.

23rd Mar 2019, 1:41 PM
Ahmed Mohamed Zanaty
Ahmed Mohamed Zanaty - avatar
8 Réponses
+ 13
You have to add the extension of image too, like .png or .jpeg
23rd Mar 2019, 1:47 PM
Letsintegreat
Letsintegreat - avatar
+ 23
If You Wanna Appear An Offline Image So It Has It'$ Own Method!!!😊✌
23rd Mar 2019, 4:17 PM
K͜͡ɩnɢ・ムzizi 🖤
K͜͡ɩnɢ・ムzizi 🖤 - avatar
+ 11
Post your full code to we see error, if you got alt thats mean so dont put correct path of your image
23rd Mar 2019, 1:47 PM
PanicS
PanicS - avatar
25th Mar 2019, 5:25 AM
Felix
+ 7
Please show us your code so we can understand the situation, thanks
23rd Mar 2019, 2:38 PM
JTLZ
+ 6
<img src=".......png" alt""/>
24th Mar 2019, 12:06 PM
Danyo Joe Crews Kumi Junior
Danyo Joe Crews Kumi Junior - avatar
+ 4
they do
24th Mar 2019, 12:06 PM
Danyo Joe Crews Kumi Junior
Danyo Joe Crews Kumi Junior - avatar
+ 3
The problem was that i didn't put the image extension. Now i put the extension, and the image appear... Thanks all.
24th Mar 2019, 8:17 AM
Ahmed Mohamed Zanaty
Ahmed Mohamed Zanaty - avatar