Home > front end >  The difference between the <I> and <em>, <b> and <strong> the difference?
The difference between the <I> and <em>, <b> and <strong> the difference?

Time:12-08

In HTML 5, & lt; i> And & lt; Em> As italics, have why to distinguish?
In HTML 5, & lt; B> And & lt; Strong> As bold, have why to distinguish?





Small white bosses genuflect is begged grant instruction

CodePudding user response:

In order to bold and bold, & lt; Strong> In order to indicate the key and bold
Of course I tag with em is also in the same way

CodePudding user response:

https://www.zhihu.com/question/19551271
Here is a detailed answer

CodePudding user response:

And & lt; Strong> Semantic words more, have emphasis effect, more efficient for the browser to HTML parsing.

CodePudding user response:

The effect is the same, it is important to semantic labels, the corresponding label accordingly,
Label the actual style effect is generally need not too care about, because of the CSS
  • Related