Em element
The em element is an HTML element that semantically marks text for emphasis or stress, conventionally rendered in italics by browsers.
Build a Website with ChatGPT
The em element is an HTML element that marks text with semantic emphasis or stress.
- How it is used
- Marks words or phrases that need added emphasis or stress within ordinary HTML text.
- How deep it goes
- Explains semantic purpose, browser rendering, comparison with strong and i, and nesting, but does not detail CSS customization.
- Examples
- Uses an emphasized word in a pie-pastry sentence and contrasts emphasis with important, keyword, and alternative text examples.
- What you can do after
- Apply the em element to mark text that should receive added stress in an HTML sentence.
Design for Developers
The HTML em element marks text that carries emphasis.
- How it is used
- Uses semantic HTML to express emphasis when italic styling carries meaning.
- How deep it goes
- Distinguishes emphasis, alternate voice, specialized text, and purely stylistic italics, while stopping short of implementation detail.
- Examples
- Uses italics, oblique fonts, the <em> tag, the <i> tag, and CSS classes as contrasting examples.
- What you can do after
- Apply semantic HTML to distinguish meaningful emphasis from voice, specialized text, and visual styling.
Related concepts
- italicsproduces · Italics are a typographic style with slanted letterforms used to emphasize or visually distinguish text.
- i elementcontrasts with · The i element is an HTML element that marks text set apart from surrounding prose by a different voice, mood, or semantic role.
- strong elementcontrasts with · The HTML strong element marks content as having strong importance, seriousness, or urgency.
- HTML tagkind of · An HTML tag is angle-bracket-delimited markup that identifies, structures, or marks the boundary of an element in an HTML document.
- u elementcontrasts with · The HTML u element marks text with a non-textual annotation, commonly rendered as an underline.
- browserused by · A web browser is software that retrieves, interprets, and renders web resources, executes supported web content, and enables interaction with web pages and applications.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

