Semantic Text Emphasis

HTML provides six inline elements for text styling — not all are equal. <strong> and <em> carry meaning; <b>, <i>, <s>, and <u> are presentational fallbacks with specific semantic niches.

Element Reference

ElementPurposeBrowser Default
<strong> Important content with strong emphasis Bold
<em> Stressed emphasis in reading tone Italic
<b> Stylistically offset without extra importance Bold
<i> Alternate voice (technical terms, foreign phrases) Italic
<s> Text no longer accurate or relevant Strikethrough
<u> Non-textual annotation (misspellings, proper nouns in CJK) Underline

In Practice

Your password must be at least 16 characters and include numbers and symbols.

He said not to deploy on Friday — really.

The Amazon Rainforest spans nine South American countries.

Root cause: cachaza in the fermentation tank (port. for "lees").

Plan: Switch to microservices — monolith works fine, we just need better caching.

Check for recieve → should be "receive" (spell-check annotation).

Avoid <b>/<i> when <strong>/<em> would be semantically correct. Use them only when the styling itself carries meaning (key words in a keyword list, taxonomic names, etc.).