HTMLHTML12 min read

HTML Formatting

Make text bold, italic, underlined, highlighted, and code-style in a clean way.

David Miller
December 31, 2025
0.0k0

Formatting tags change how text looks. ## Common tags ```html <p><b>Bold</b> text</p> <p><i>Italic</i> text</p> <p><u>Underline</u> text</p> <p><mark>Highlighted</mark> text</p> <p>Code: <code>npm run build</code></p> ``` ## Preview Bold text Italic text Underline text Highlighted text Code: npm run build ## Best practice Use <strong> instead of <b> for important text. Use <em> instead of <i> for emphasis.

#HTML#Beginner