A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/html/elements/em below:

em · WebPlatform Docs

em Summary

The em element indicates text that has emphasis.

Overview Table
DOM Interface
HTMLElement
Examples

This example uses the em element to emphasize text.


<p>Cats are <em>very</em> cute animals.</p>

Incidentally, the level of stress that a particular piece of content has is given by its number of ancestor em elements.

<p>Chicken Little: <q><em>The sky is falling…
<em>the sky is falling… <em>the sky is falling!</em></em></em></q></p>
Usage
 The em element is a phrasing-level element. It must not contain block-level elements, but it can contain other phrasing-level elements.
Notes

By default, most browsers render the em element in italics, but you can change that in CSS.

If the text is of great importance, seriousness, or urgency the strong element would be a better choice.

If you are looking to indicate text that is in an alternate voice, mood, or language, the i element would be a better choice.

If you wish to italicize the name of a creative work (e.g. a magazine, book, or film title), use the cite element instead.

Related specifications
HTML 5.1
W3C Working Draft
HTML 5
W3C Recommendation
HTML 4.01
W3C Recommendation
See also Related articles HTML Text Related pages Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4