Documentation
Elements
- <a>
- <aside>
- <assessment>
- <author>
- <backcover>
- <blockquote>
- <body>
- <bodymatter>
- <caption>
- <code>
- <cover>
- <dd>
- <dl>
- <document>
- <dt>
- <em>
- <figure>
- <figureGroup>
- <frame>
- <frontcover>
- <frontmatter>
- <hd>
- <img>
- <input>
- <jacketcopy>
- <legend>
- <li>
- <line>
- <linegroup>
- <list>
- <meta>
- <metadata>
- <note>
- <noteRef>
- <number>
- <p>
- <page>
- <poem>
- <pullquote>
- <rearmatter>
- <section>
- <source>
- <span>
- <sub>
- <subtitle>
- <sup>
- <table>
- <tbody>
- <td>
- <tfoot>
- <th>
- <thead>
- <title>
- <tr>
<img>
-
Date:17/08/2022
-
Modified:04/03/2025
-
Category:Elements
The <img> element embeds an image into a page. The element contains a reference to an image file.
See figure and figureGroup for examples. See Images for information about the image file.
Notes
Use <figure> as a container for an image if there is information present that is linked to the image (like caption, title, description). If the image needs to span the entire width of it’s parent container, use <figure> as well.
Attributes
| Name | Explanation | Required |
|---|---|---|
alt | The | Yes |
role | Defines the purpose of the image. Use value | Yes |
src | Refers to the location of the image file. For example: | Yes |
type | Use value | No |
-
Date:17/08/2022
-
Modified:04/03/2025
-
Category: