The <img> Tag

15% Complete (success)

<img src="#" alt="..." title="..." width="..." height="..." / >

As stated in the introduction, the image element is a multi-part element comprised of several “commands” over how the image will render.

As with the break (<br />) and horizontal ruler (<hr />) elements, the image element is an empty element that only requires a single tag. This tag is <img />.

As with hyperlinks, this element is reliant on attributes within the tag to allow it to be useful. Visit the next pages to learn these attributes.