Img
This HTML element embeds an image into a document.
Attributes
- the global attributes
- src
- alt
- crossorigin
- decoding
- elementtiming
- fetchpriority
- height
- ismap
- loading
- referrerpolicy
- sizes
- src
- srcset
- width
- usemap
Usage notes
The "src" attribute is required. It should be a URL pointing to the image.
The "alt" attribute is essential for accessibility. It should be a short description of the image.