Text-level Semantics
The following list gives you a short overview of the most commonly used text-level semantics and how to utilize them.
Example
Element | Description |
---|---|
<a> |
Turn text into hypertext using the a element. |
<em> |
Emphasize text using the em element. |
<strong> |
Imply any extra importance using the strong element. |
<code> |
Define inline code snippets using the code element .
|
<mark> |
Highlight text with no semantic meaning using the mark element. |
<abbr> |
Define an abbreviation using the abbr element with a title. |
<small> |
De-emphasize text for small print using the small element. |
<sup> |
Mark up typographical conventions with specific meanings, US2. |
<sub> |
Mark up typographical conventions with specific meanings, US2. |