About 6,810 results
Open links in new tab
  1. 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!

    Example 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!

    Using 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!

    Note: 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.

    Feedback
  2. HTML Text Formatting - W3Schools

    Learn how to use HTML elements to define text with special meaning, such as bold, italic, emphasized, marked, smaller, deleted, inserted, subscript and superscript. See ex…
    Html Formatting Elements

    Formatting elements were designed to display special types of text: 1. <b>- Bold text 2. <strong>- Important text 3. <i>- Italic text 4. <em>- Emphasized text 5. <mark>- Marked text 6. <small>- Smaller text 7. <del>- Deleted text 8. <ins>- Inserted text 9…

    Html <b> and <strong> Elements

    The HTML <b>element defines bold text, without any extra importance. The HTML <strong>element defines text with strong importance. The content inside is typically displayed in bold.

    Html <i> and <em> Elements

    The HTML <i>element defines a part of text in an alternate voice or mood. The content inside is typically displayed in italic. Tip: The <i>tag is often used to indicate a technical term, a phrase from another language, a thought, a ship name, etc. Th…

  3. 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.

  4. 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)

      • See More

      Jan 29, 2026 · Bold text helps highlight important content, improve user experience, and make key information stand out for readers and search engines alike. In this guide from Rteetech, you’ll learn …

    • 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
      Loading
      Unable to load answer