Text elements

Text elements structure and qualify content: hierarchical headings <h1> to <h6>, paragraphs <p>, emphasis <em>, importance <strong>, quotations <blockquote>, code <code>. You choose the tag based on meaning, not appearance, which is CSS's job.

Example

<h1>Title</h1>
<p>Some text with <strong>an important word</strong>.</p>

Related concepts

The whole glossary