1.The difference between title and h2
definition:
title: Summarizes website information, which can tell search engines or users what the content theme of this website is.
h1: The subject content of the article, telling the spider (crawler) what the main content of our website is
the difference:
title is displayed on the title of the web page, h1 is displayed on the content of the web page
title is more important than h1 in SEO optimization
Scenario: The iconic logo of the website is usually wrapped in the h1 tag
2.The difference between b and strong
Both can make text bold.
definition:
b: Entity tag, used to bold text
strong: logical tag, used to strengthen the tone of characters
the difference:
The b tag only has a bold style and has no actual meaning.
Strong indicates that the characters in the label are more important and are used for emphasis.
Note: In order to comply with CSS3 specifications, use b as little as possible and use strong instead.
3.The difference between i and em
Can make the font tilt.
definition:
i: Entity tag, used to tilt text.
em: logical tag, used to emphasize text content.
the difference:
i: just a slanted label with no actual meaning
em: indicates that the characters in the label are important and used for emphasis.
Scenes:
i is more used in font icons, em is used in terms (medicine, biology, etc.)