Results 1 to 2 of 2

Thread: If I say that <b> and <strong> are exactly the same in HTML, am I wrong?

  1. #1
    Join Date
    Oct 2022
    Thanked 0 Times in 0 Posts

    Default If I say that <b> and <strong> are exactly the same in HTML, am I wrong?

    These two things can be different:

    With different CSS visual styles and look
    When you interact with them, they may have different JavaScript functions tied to them.
    Any code that can read html could handle them differently.
    They mean slightly different things. The bold tag talks about a certain visual element, while the strong tag says more about how important the subject is.

    It depends on a lot of things. They have something in common, but they may not be the same thing.

  2. #2
    Join Date
    Nov 2006
    chertsey, a small town 25 miles south west of london, england.
    Thanked 290 Times in 283 Posts


    Or more specifically...

    The <b> HTML element is used to draw the reader's attention to the element's contents,
    which are not otherwise granted special importance. This was formerly known as the Boldface
    element, and most browsers still draw the text in boldface. However, you should not use <b>
    for styling text; instead, you should use the CSS font-weight property to create boldface text,
    or the strong element to indicate that text is of special importance.


    The <strong> HTML element indicates that its contents have strong importance, seriousness,
    or urgency. Browsers typically render the contents in bold type.


    ~ the original bald headed old fart ~

Similar Threads

  1. Math wrong? Array wrong?
    By bluewalrus in forum PHP
    Replies: 0
    Last Post: 10-17-2009, 02:32 PM
  2. <b> versus <strong>
    By John_fresh in forum HTML
    Replies: 13
    Last Post: 03-24-2007, 01:05 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts