+ 1
Tag used to insert a image
2 ответов
+ 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
0
<img> tag is used to insert image, example:
<img src="image.png">