+ 11
In HTML; when I write the code of image,it doesn't appear in page why ?!
The code is 💯 right..icon of image appears but image itself doesn't appear
16 Answers
+ 9
Y.K amazing that's exactly what I meant...many thanks
+ 9
Boris Sonia Thanks a lot for this solution , I will try it
+ 6
Try to put the directory of the file correctly and check the code is any mistakes are there.if any problems are there use "alt" to check it code is correct or wrong
+ 5
https://code.sololearn.com/WNBwM1jn69pF/?ref=app
This is how we can insert image through html 😁😇
+ 3
Maryam make insure that format of pic is correct
+ 3
.png .jpeg .gif or other
+ 3
Does it work for you now?
+ 3
First check the directory of image file.For convenient keep the image in same folder as your HTML file.Secondly, check the extensions are correct or not (like .jpg , .png , .jpeg).If it's correct then your web browser might be not supporting the image , so always give alt, in case image is not displayed you can give any statement in place of image using alt attribute.
+ 2
Try to keep the image file in the same directory of the HTML file.
+ 2
At first i was in the same shock but now am doing great with it because i use Dropbox. Dropbox creates links for images an videos and copies them for you, which you will paste in the code you write, try and see Go to the appstore, download Dropbox upload your images and videos and there, your set
+ 1
The img tag must has alt as atribute!
+ 1
w3schools.com/tags/tag_img.asp
+ 1
html
+ 1
@Anurag you are not true. w3schools.com/tags/tag_img.asp
0
📤 Roj S. Kerîm 📥 wdym it's not true.. when I started with HTML sometimes used to put the IMG file in more outer directory than the main html file.
Thought that could be the case here