What is the purpose of IMGtags and write any two attributes along with this
Answers
Answered by
0
Answer:
The purpose of img tag is to insert a image to a document .
Its attributes :
SRC , align , alt , height and width
Answered by
0
HTML IMG tag is used to display image on Web Page/Web Site.
IMG is an empty tag.
Example of IMG Tag is as folllows :-
<img src=”image.jpg" alt="image"/>
Attributes of IMG Tags :-
i) SRC - It is a necessary attribute that describes the source or path of the image.
ii) ALT - The alt attribute defines an alternate text for the image, if it can't be displayed. The value of the alt attribute describe the image in words.
Similar questions