0
Why I can't insert my picture in html?
8 Respuestas
+ 12
Upload your img on imgbb.com then copy it's link
Or you can use Dropbox
https://www.sololearn.com/discuss/1968235/?ref=app
https://www.sololearn.com/discuss/442043/?ref=app
https://www.sololearn.com/discuss/2267692/?ref=app
https://code.sololearn.com/Wy3lrXNwGsgJ/?ref=app
https://code.sololearn.com/WT3661NHpV3B/?ref=app
+ 8
<img src="picturename. jpg" height="15px" weight="150px" alt="" />
use
Don't use space between the value
+ 3
width="150px"
(no weight)
+ 2
While working with images, you have to keep 2 things in mind.
1. Use the correct relative path:
Use the image path relative from the html file. For example, if the image is in an image folder and the image folder is in the same place as the html file, you should write
src="image/Image_name".
Not just src="image_name"
2. Use the correct image format:
If your relative path is correct, then your image format isn't. Check correctly if the image is in png, gif, jpg or svg format and use the correct extension.
Like, src="image_name.png" for a png image.
+ 2
Try using
<Img src=picture.
"Jpg height="14px"
Weight="140px" alt="/>
+ 1
Can you describe better your question, please?
0
Thank you
- 1
I mean when I use the tag <img src="picture's name. jpg" height="15px" weight="150px" alt="" /> I can't load my picture