write a short note on various attributes of the image tag in HTML
Answers
Answered by
14
<IMG> tag is used to insert images in any webpage. Its two main attributes are as follows:
1] SRC: It specifies the URL of the image.
2] ALT: It specifies an alternate text for an image.
I hope this will help you!!!
Answered by
4
Answer:
The <img> tag creates a holding space for the referenced image. The <img> tag has two required attributes: src - Specifies the path to the image. alt - Specifies an alternate text for the image, if the image for some reason cannot be displayed.
Similar questions