HTML5b and I tags will be given true semantic _ html5 tutorial skills-

Source: Internet
Author: User
B And I tags are not recommended in the current standard Web rules, or even opposed to use, because they are considered to be only & ldquo; Performance & rdquo; bold and italic, without any & ldquo; semantics & rdquo ;. Use the strong and em labels instead. The B and I tags are defined in the new HTML5 work draft as follows: The following are code snippets: B and I tags are not recommended in the current standard Web rules, it is even opposed to use because they are considered to be only "represented" in bold and italic, without any "Semantics ". Use the strong and em labels instead.

In the new HTML5 work Draft, the B and I labels are defined as follows:
The following is a code snippet:

The Code is as follows:


The B element now represents a span of text to be stylistically offset from the normal prose without conveying any extra importance, such as key words in a document abstract, product names in a review, or other spans of text whose typical typographic presentation is emboldened.
// Element B is a piece of text that is described in a general article only in terms of style and does not contain any additional importance. For example, keywords in the document summary and product names in the comments. Or the highlighted layout.
The I element now represents a span of text in an alternate voice or mood, or otherwise offset from the normal prose, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, a thought, a ship name, or some other prose whose typical typographic presentation is italicized. usage varies widely by language.
// The I element is now described as highlighting different comments or tone or other text in a common article, for example, a classification name, a technical term, a slang in a foreign language, an idea. Or the Italic layout.


It can be noted from the specification that elements B and I will be given true semantics. More predictable attention should be paid to the different use of B, I, strong, and em.

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.