Text Content

HTML <em> element

Marks stress emphasis that can change the meaning of a sentence. Nesting can increase the degree of emphasis. Stress can change interpretation: emphasizing different words in the same sentence can change its implied meaning. Use CSS for purely visual italic formatting and strong for importance. It accepts global HTML attributes; individual global features may be inapplicable or restricted.

Formal Syntax & Structure

html syntaxhtml
<em>Emphasized text</em>

Return Value

HTMLElement

Content model: Phrasing content, with element-specific restrictions.

Working Example

Example Snippethtml
<!doctype html><html lang="en">  <head>    <meta charset="utf-8">    <title>HTML example</title>  </head>  <body>    <p>      Please bring the book      <em>today</em>      .    </p>  </body></html>
HTML Reference