Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Design Difference between bold and strong tag

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #259888
    Steffy
    Participant

    Hi friends, what is the difference between bold and strong tag. Both has same functionality. please explain.

    #260243
    Paulie_D
    Member

    MDN Reference

    It is often confusing to new developers why there are so many ways to express the same thing on a rendered website. Bold and Strong are perhaps one of the most common. Why use <strong></strong> vs <b></b>? You have to type a whole lot more with strong and it produces the exact same result, right?

    Perhaps not; strong is a logical state, and bold is a physical state. Logical states separate presentation from the content, and by doing so allow for it to be expressed in many different ways. Perhaps instead of rendering some text as bold you want to render it red, or a different size, or underlined, or whatever. It makes more sense to change the presentational properties of strong than it does bold. This is because bold is a physical state; there is no separation of presentation and content, and making bold do anything other than bold text would be confusing and illogical.

    It is important to note that <b></b> does have other uses, when one wants to draw attention without increasing importance.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Design’ is closed to new topics and replies.