Courses / HTML
Free Beginner Web Development

HTML & Web Foundations

Learn how websites are structured from the ground up using HTML. Build real pages while learning elements, attributes, links, images, forms, tables, semantic HTML and more.

24
Lessons
4 Weeks
Duration
13%
Progress

Lesson 4 of 24

12 min learning time

Text Formatting

Important text

HTML includes elements that communicate meaning such as strong and em.

Common elements

You can use strong for important content, em for emphasis, mark for highlighted content and small for side comments.

Example HTML
<p>
    This is <strong>important</strong> information.
</p>

<p>
    This is <em>emphasized</em> text.
</p>

<p>
    This is <mark>highlighted</mark> text.
</p>

Practical Exercise

Build it yourself

Create a paragraph containing important, emphasized and highlighted words.

Quick Check

Test your understanding

Which element represents important text?