Important text
HTML includes elements that communicate meaning such as strong and em.
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.
Lesson 4 of 24
12 min learning time
HTML includes elements that communicate meaning such as strong and em.
You can use strong for important content, em for emphasis, mark for highlighted content and small for side comments.
<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
Create a paragraph containing important, emphasized and highlighted words.
Quick Check
Which element represents important text?