Ask any question about HTML here... and get an instant response.
How do I make a section of text bold using HTML?
Asked on Nov 22, 2025
Answer
To make a section of text bold in HTML, you use the
<strong> or <b> tag. The <strong> tag is preferred for semantic purposes as it indicates that the text is of strong importance.
<!-- BEGIN COPY / PASTE -->
<p>This is a <strong>bold</strong> word using the strong tag.</p>
<p>This is a <b>bold</b> word using the b tag.</p>
<!-- END COPY / PASTE -->Additional Comment:
- The
<strong>tag is used for text that has strong importance, which can be beneficial for accessibility. - The
<b>tag is used purely for stylistic purposes without conveying any extra importance. - Both tags will render the text in bold by default in most browsers.
✅ Answered with HTML best practices.
Recommended Links:
