Which tag is use for inserting image in HTML | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Which tag is use for inserting image in HTML

THE tag

8th Apr 2020, 2:05 PM
Ige Bamise
Ige Bamise - avatar
3 Answers
+ 1
Hay bro use search bar before asking que By the way your answer <img> tag is used Syntax: <img src="image address" height="value" width="value" alt="value">
8th Apr 2020, 2:08 PM
Ayush Kumar
Ayush Kumar - avatar
0
<img> That was in the course !!
8th Apr 2020, 2:09 PM
Mohamed Medkar
0
The "img" tag is used to insert the picture to an HTML page. There is no closing tag of "img" . You can out the image as given below: <img src="Location of picture.jpg" alt="Alternative text " height="In pixels" width="In Pixels"> The "src" attribute is used to define the file location of the picture. The "alt" attribute is used to show the alternative text instead of the picture if the browser does'nt support the picture.
9th Apr 2020, 11:18 AM
Zain Ali
Zain Ali - avatar