The difference between <b> tags and <Strong> tags in html

Source: Internet
Author: User

The difference between the HTML tags B and strong two, I also notice this morning, used to be mixed with, in the morning when reading the two labels notice the difference.

On the Web page, they all start with the bold font, the difference is that the,<b> tag is an entity tag, the characters that surround it will be set to bold (bold), and the <strong> tag is a logical label, it is to strengthen the tone of the character, In general, the tone of the reinforcing character is achieved by turning the character into bold (bold).

Simply put, strong is the label of XHTML in Web standards, strong means "emphasis"; B is HTML, and B means bold (bold). Web standards claim that XHTML does not involve specific manifestations, "emphasis" can be emphasized with bold, but also can be emphasized in other ways, such as underline, such as font enlargement, such as red, and so on, can be changed by CSS strong specific performance.

Not to say that there is a strong, the elimination of B, but this b is very innocent, because they represent the font is bold, coincides with the strong by default, the effect of the emphasis on the same, in fact, this strong can be defined as a different style of the emphasis effect

But in order to meet the current standards, it is recommended to use the strong label.

The difference between <b> tags and <Strong> tags in html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.