Slide 1
Slide 2
Slide 3

Bold Vs Strong tag in HTML5 (HTML-V28)

No Comments

HTML formatting defines how content is displayed on a web page, to make it easier to read, give it clear meaning, and make the presentation look neat and attractive.
If you have used a word processor, you will know how to make text bold, italic, or underlined. Without formatting, content looks untidy and is not pleasant to the eye. But HTML formatting is not only for making content look neat or visually attractive. There are several other reasons to use HTML formatting.
HTML formatting is useful in many ways:

  • The appearance of text can show clearly what the content is meant to do, such as highlighting keywords, putting important information in quotation marks, or underlining important sentences.
  • Formatting helps Search Engines understand the structure of the content clearly, and it also benefits Search Engine Optimization (SEO).
  • Formatting helps improve the layout and makes content easier to read.
  1. Bold VS Strong tag
    The <b> tag in HTML is used to make text bold, but it has no logical or semantic meaning. It is used only for visual impact.
    <b> — Bold (Visual Only)
  • Used to make text bold in appearance only
  • Has no semantic meaning
  • Search Engines and Screen Readers do not treat the text as important
    The <strong> tag is an HTML semantic tag used to show that
    the text is very important or deserves special attention, not just to make the text look bold.
    <strong> — Strong (Semantic)
  • Used for important text
  • Has semantic meaning
  • Search Engines and Screen Readers treat the text as important

Source Code:

Copied!
<!DOCTYPE html>
<html>
<head>
    <title>HTML bold vs strong</title>
</head>
<body>

    <h2>Example of &lt;b&gt; tag</h2>
    <p>
        This is <b>important</b> information.
    </p>

    <h2>Example of &lt;strong&gt; tag</h2>
    <p>
        This is <strong>important</strong> information.
    </p>

</body>
</html>

Result: 

Watch the video:


Ebook:
https://softkhpc.blogspot.com/2026/11/html-tutorial-beginners.html

back to top