Emphasis Element Tutorial
<em>
Introductory Text
The em element represents emphasis.
[Note: The W3C HTML 4.01 specification has a vague description for this element: emphasis.]
- Start tag:
<em>- End tag:
</em>
Use Examples
- Example [Basic]:
-
HTML is the abbreviation for HyperText Markup Language.
- Code [HTML]:
-
<p><em><abbr>HTML</abbr></em> is the abbreviation for HyperText Markup Language.</p>
- Example [Class Indicator]:
-
HTML is the abbreviation for HyperText Markup Language.
- Code [HTML]:
-
<p><em class="mediumHighlight"><abbr>HTML</abbr></em> is the abbreviation for HyperText Markup Language.</p>
- Example [Title attribute and an inline style]:
-
HTML is the abbreviation for HyperText Markup Language.
- Code [HTML]:
-
<p><em title="This significance cannot be over emphasized" style="font-size:8em; cursor:pointer !important;"><abbr>HTML</abbr></em> is the abbreviation for HyperText Markup Language.</p>
Content Model/Assigned Attributes
- Element-Type:
- Text-Level [HTML 4.01]
- Phrasing Content [HTML 5]
- Attributes:
</em>
