+ 9
How can we insert IMG in html?
15 Antworten
+ 6
use img tag
<img src="value" alt="hi"/>
Before you put the value of your image, make sure that your image is on any website.
+ 4
<img src="https://www.abc.com/pig.jpg" alt="description ">
+ 4
You can actually read it in sololearn tutorial
+ 4
<img src=“location of the image” />
+ 4
Thanks for your comments
+ 3
<img src="image.jpg">
+ 3
The html tutorial explains it.
+ 3
<img src="image.jpg">
+ 3
Thanks for your answer
+ 2
There's a tag named img. Use it. Put url in a src attribute.
+ 2
<img class=“img” src=“1.jpg” write the name of the image for example my image name is 1.jpg and the image has to be in same folder as the .html to link the image or you can link using a web image link.
+ 2
<img src="source of the imagr" alt="description of the img" height="height for the img" width="width for the img">
+ 1
<img src="image.jpg" /> <br />
+ 1
you can use img tag in html for inserting image in HTML.