+ 1

How do we go about in inserting an image in html...like i want to see the image as the output

img src="girl_jpg"

5th Jan 2021, 6:35 AM
black Rain
2 ответов
+ 2
Finias In the src attribute , Use the value girl.jpg instead of girl_jpg ... This will help you: https://www.sololearn.com/learn/HTML/1030/?ref=app https://code.sololearn.com/WSLZPpBIFgr7/?ref=app
5th Jan 2021, 6:37 AM
Alphin K Sajan
Alphin K Sajan - avatar
+ 2
<img src="..." alt /> Explanation: *img: Name of the tag *src: link to image (i.e flower.png) *alt: means alternative text if image fails to load. But it's facultative. You can add it or not. *The slash (/) at the end of img tag is facultative. *There is no end tag for img. i.e : <img src="flower.png" alt="My flower" /> Or <img src="flower.png"> Both will work.
5th Jan 2021, 7:02 AM
Stefan
Stefan - avatar