Starlit Daily

📚 › HTML: build the structure of a web page

4. Text formatting

strong marks important text and is usually shown in bold. em adds emphasis and is usually italic. mark highlights text, and small shows fine print.

Choose the tag by meaning, not by look. Use strong for importance and style it with CSS if you want a different look.

Show example

<p>This is <strong>very important</strong> and this is <em>emphasised</em>.</p>

✍️ Your turn

Write a paragraph that contains one strong word and one em word.

← Back to course