0

Why I can't insert my picture in html?

26th Feb 2022, 2:21 AM
quynh stellar
8 Answers
+ 8
<img src="picturename. jpg" height="15px" weight="150px" alt="" /> use Don't use space between the value
26th Feb 2022, 2:17 PM
Vaibhav
Vaibhav - avatar
+ 3
width="150px" (no weight)
26th Feb 2022, 3:45 AM
Jacopo
+ 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.
27th Feb 2022, 4:17 AM
Aldrin Saurov Sarker
Aldrin Saurov Sarker - avatar
+ 2
Try using <Img src=picture. "Jpg height="14px" Weight="140px" alt="/>
27th Feb 2022, 7:06 PM
Dev Gideon.
Dev Gideon. - avatar
+ 1
Can you describe better your question, please?
26th Feb 2022, 2:40 AM
Jacopo
0
Thank you
27th Feb 2022, 11:02 PM
quynh stellar
- 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
26th Feb 2022, 2:56 AM
quynh stellar