Differences between <I> and <em>, <B>, and <strong> labels-Separation

Source: Internet
Author: User
& Lt; I & gt; and & lt; em & gt;, & lt; B & gt; and & lt; strong & gt; the difference between labels-falls in HTML4.01:
<B> <I> Yes Visual elements(Presentationl elements), indicating meaningless bold, meaningless italic, It only indicates that the style is in bold or italic.The two labels are not recommended in HTML4.01. We recommend that you use CSS styles;


<Em> and <strong> YesExpression Elements(Phrase elements ). <Em> (emphasized text) indicates general emphasis texts, while <strong> (strong emphasized text) indicates more emphasis texts than <em>. These two labels have semantics.The content in this tag is more important in search engines, and some voice readers will also strengthen their tone when reading it.


That is to say, if you want to show some text in bold or italic, you should use labels and define CSS styles for it. If you want to emphasize a part of text in semantics, for example, the keyword should be usedAndTag,Label representation RatioMore emphasis on labels.

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.