What is the purpose of the tag? Explain its attributes.

The <img> tag embeds an image. Common attributes include src (source of the image) and alt (alternative text for accessibility).


Example:

<img src="image.jpg" alt="Sample Image" width="200" height="100">