+ 1

Tag used to insert a image

27th Jul 2017, 1:19 PM
Purab singhal
Purab singhal - avatar
2 Respuestas
+ 4
<img>tag Example :- <img src="jelly.jpg" alt ="Jelly"> ★ The src attribute refers to the source of the file ..Like if the both the html files and img files are in the same folder you can simply add the above tag used but if its inside another folder named "Images" then you have to add the full path or directory of the image file. ★ The "alt" attribute is the text that will be displayed if the image fails to load. Its optional. // I am Aniket's brother
27th Jul 2017, 2:22 PM
Nikhil
Nikhil - avatar
0
<img> tag is used to insert image, example: <img src="image.png">
27th Jul 2017, 1:21 PM
Αητοιπe
Αητοιπe - avatar