Comments: 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 "shown" in bold and italic, there is no "meaning ". 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.