HTML Content Models

HTML embedded content

Imports another resource or includes content from another namespace, such as img, iframe, video, SVG or MathML. Choose suitable alternative text, labels or fallback depending on the element and its purpose. Categories describe authoring constraints and may overlap; they do not determine CSS display or by themselves guarantee accessibility.

Formal Syntax & Structure

html syntaxhtml
<img src="…" alt="…">

Working Example

Example Snippethtml
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="40" role="img" aria-label="Blue rectangle">  <rect width="80" height="40" fill="blue"/></svg>
HTML Reference