Dominate the CodeHS Advanced HTML & CSS Exam 2026 – Design Your Web Success!

Session length

1 / 20

What HTML tag is used to create bold text in a webpage?

<b>

<strong>

The <strong> tag is used to create bold text on a webpage and carries semantic meaning that signifies the importance of the enclosed text. This contrasts with the <b> tag, which simply styles text as bold without conveying any additional significance. While both tags visually display text in a bold format, <strong> provides context that can be particularly beneficial for accessibility tools like screen readers, as they announce the text enclosed within <strong> as being of greater importance.

In modern HTML practices, using <strong> is preferred over <b> because it adheres to semantic HTML principles, improving both SEO and user experience. Therefore, while visually both tags create bold text, <strong> is the more appropriate choice for highlighting important content.

<i>

<em>

Next Question
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy