- ✕This summary was generated using AI based on multiple online sources. To view the original source information, use the "Learn more" links.
To make text bold in HTML, you can use the <b> or <strong> tags. Both tags render the text in bold, but they have different semantic meanings.
Example using <b> tag
The <b> tag is used to make text bold without conveying any extra importance.
<p>This is normal text - <b>and this is bold text</b>.</p>Copied!✕CopyExample using <strong> tag
The <strong> tag is used to indicate that the text has strong importance. The content inside is typically displayed in bold.
<p>This is normal text - <strong>and this is important bold text</strong>.</p>Copied!✕CopyUsing CSS for Bold Text
You can also use CSS to make text bold by setting the font-weight property to bold.
<p>This is normal text - <span style="font-weight:bold;">and this is bold text</span>.</p>Copied!✕CopyNote: According to the HTML5 specification, the <b> tag should be used as a last resort when no other tag is more appropriate. For important text, use the <strong> tag.
HTML Text Formatting - W3Schools
How to Bold Text in HTML - GeeksforGeeks
Jul 15, 2025 · The <b> tag is used to bold the text, while <strong> tag used to bold the text and shows the importance of text. We can also use CSS font-weight property to bold the text.
css - How do I make text bold in HTML? - Stack Overflow
Dec 6, 2016 · Use a "th" element and suggest a bold style for it within your CSS ("th {font-weight: bold;}"). Want to distinguish the title of a referenced film or album from surrounding text?
- Reviews: 3
How to Make the Text Bold in HTML - W3docs
Learn how to use the or tags, or the CSS font-weight property to make the text bold in HTML. See examples, explanations and differences between the tags.
How to Bold in HTML (Simple Examples for Beginners)
How to Create Bold Text in HTML - Delft Stack
Mar 11, 2025 · This tutorial introduces how to create bold text in HTML using various methods such as the `<strong>` and `<b>` tags, as well as CSS styling. …
HTML Bold Text Tutorial – How to Use the <b> Tag
Mar 18, 2021 · Learn how to use the tag to make text bold in HTML and how it differs from the tag. See examples, tips, and best practices for using the tag …
How to Create Bold Text With HTML - wikiHow
Oct 21, 2025 · HTML makes it easy to bold text, and there are several tags you can learn if you want more options. Better yet, you can take a few minutes to learn …
How to Make Text Bold in HTML - mimo.org
Learn how to make text bold in HTML with <strong> and <b> so you add emphasis correctly and keep your content accessible.
HTML Bold (With Examples) - Programiz
We use the HTML <b> tag or the HTML <strong> tag to make text bold. For example, Browser Output. Both <b> and <strong> tags make the text inside them bold and there is no difference in how …
- People also ask