why img tag is used?
The <img> tag is used to embed an image in an HTML page. Images are not technically inserted into a web page; images are linked to web pages. The <img> tag creates a holding space for the referenced image. ... alt - Specifies an alternate text for the image, if the image for some reason cannot be displayed.