<img>
HTML <img> Element Reference
The HTML <img> element embeds an image and requires a meaningful text alternative when the image conveys information.
Categories
- Embedded content
Tag omission
This is a void element and does not have an end tag.
Content model
- Detailed content-model guidance will be added to this reference.
Attributes
Examples
Example
A practical img element example.
<img src="toolio-logo.png" alt="Tool.io robot cat logo" width="256" height="256">