Language
日本語
English

Caution

JavaScript is disabled in your browser.
This site uses JavaScript for features such as search.
For the best experience, please enable JavaScript before browsing this site.

  1. Home
  2. HTML Tag Dictionary
  3. <strong> / <em>

<strong> / <em>

strong is an element that indicates the importance of text (bold by default), and em is an element that adds emphasis to text (italic by default). Both carry semantic meaning.

Syntax

<!-- Indicates importance or seriousness -->
<strong>important text</strong>

<!-- Indicates stress emphasis -->
<em>emphasized text</em>

Tag reference (differences from b and i)

TagDescription
strongIndicates the importance, seriousness, or urgency of text. Some screen readers announce it with greater emphasis. Displayed as bold by default.
emAdds stress emphasis to text. Nesting it increases the level of emphasis. Displayed as italic by default.
bHas no semantic importance — it simply makes text bold. Use it for text you want to draw attention to, such as keywords or product names.
iHas no semantic emphasis — it simply makes text italic. Use it for technical terms, foreign words, thoughts, or titles.

Sample code

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
</head>
<body>

  <!-- Use strong to mark critical content -->
  <p>Deleting this file <strong>cannot be undone</strong>. Make sure to back it up first.</p>

  <!-- Use em to add stress emphasis -->
  <p>Please submit it <em>by today</em>.</p>

  <!-- b and i are purely visual styling -->
  <p><b>HTML</b> and <b>CSS</b> are the foundational technologies of the web.</p>
  <p>He is known for the phrase <i>cogito ergo sum</i> (I think, therefore I am).</p>

  <!-- Combining strong and em -->
  <p><strong><em>Never</em> share your password</strong> with anyone.</p>

</body>
</html>

Output

strong renders as bold and em renders as italic. b and strong look the same visually, but carry different meanings.

Deleting this file "cannot be undone".  ← bold warning
Please submit it "by today".            ← italic emphasis
"HTML" and "CSS" are the foundational technologies of the web.  ← bold (decorative)
He is known for the phrase cogito ergo sum ...  ← italic (Latin)
"Never share your password" with anyone.        ← bold + italic

Notes

Both strong and b render as bold, but they have fundamentally different meanings. strong conveys "this text is important" — a meaning that is understood by screen readers and search engines. b, on the other hand, only makes text bold with no semantic weight. The same distinction applies to em and i: the former provides meaningful emphasis, the latter is purely visual.

Choose HTML tags based on meaning, not appearance. Use strong for critical warnings or required information, and em for stress emphasis within a sentence. If you simply want to apply bold or italic styling without any semantic meaning, it is often more appropriate to use CSS properties such as font-weight: bold or font-style: italic.

strong and em can be nested. Nesting em twice increases the level of emphasis. You can also nest em inside strong to express content that is both important and stressed.

Browser Support

Chrome Chrome
49+
Supported in all versions
Firefox Firefox
57+
Supported in all versions
Safari Safari
18 or earlier ×
Edge Edge
80+
11 or earlier ×
IE IE
11 or earlier ×
Opera Opera
48+
14 or earlier ×
iOS Safari iOS Safari
18 or earlier ×
Android Browser Android Browser
37+
4 or earlier ×
Chrome Android Chrome Android
36+
17 or earlier ×
Firefox Android Firefox Android
79+
3 or earlier ×

If you find any errors or copyright issues, please .