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 “attributes” determining 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, the <img> element relies on its attributes within the tag to make it useful. The following pages describe these attributes.