Home >Web Front-end >HTML Tutorial >Is the b tag the same as the strong tag? What is the difference between b tag and strong tag?

Is the b tag the same as the strong tag? What is the difference between b tag and strong tag?

云罗郡主
云罗郡主Original
2019-01-28 14:51:1916408browse

When I first learn HTML, I always confuse the b tag and the strong tag. Many people regard the b tag and the strong tag as the same tag. So, are the b tag and the strong tag the same? What is the difference between b tag and strong tag? The following php Chinese website will summarize it for you. [Recommended tutorial: HTML video tutorial]

Is the b tag the same as the strong tag? What is the difference between b tag and strong tag?

1: Is the b tag the same as the strong tag?

The b tag and the strong tag are two different tags. The b tag has the meaning of bold, represented by b in the letter. The b tag can emphasize the "appearance" character.

For example:

<b>您想要加粗的地方</b>

And the tag is the place we want to emphasize, and the two are tags with different meanings.

<strong>您想要强调的地方</strong>

2: What is the difference between b tag and strong tag

##Many people regard b tag and strong tag as one tag , in fact, there is a substantial difference between the two. The strong tag has semantics and has the effect of accentuating the tone, but the b tag does not. The b tag is just a simple bold tag. The characters between the

b tags are all set to bold. The strong tag strengthens the tone of the characters by bolding, and search engines focus more on the strong tag.

The strong tag pays more attention to the application of content. In HTML, keywords are marked. However, on some websites, the strong tag is also used to emphasize the subtitles, but in the page, if Too many strong tags may be detrimental to rankings.

Is the above the same for b tags and strong tags? A full introduction to the differences between b tags and strong tags. If you want to know more about HTML, please pay attention to the PHP Chinese website.


The above is the detailed content of Is the b tag the same as the strong tag? What is the difference between b tag and strong tag?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn