Some HTML elements have meanings and represent what they are used for. When search engines search, they will judge what your website has based on the meaningful elements in your website, and what specific elements are meaningful. What do the tags represent? You can check out the list of HTML5 tags on MDN
Semantic elements mean that you can know the meaning of the content they represent by just looking at the element name For example, for an article, there are page headers, table of contents, page numbers, footers and other information If expressed by semantic elements:
Of course you don’t need these, you can also express it directly by using p etc. This information is particularly useful for search engines, which can directly extract the article content by analyzing page elements
p can be used to define styles. Semantic tags are easy to read and can be easily parsed by browser crawlers and machines. It is best not to nest them randomly
Some HTML elements have meanings and represent what they are used for. When search engines search, they will judge what your website has based on the meaningful elements in your website, and what specific elements are meaningful. What do the tags represent? You can check out the list of HTML5 tags on MDN
It’s not painful, it’s just that there are a few more things (some new elements, some new APIs):
See the documentation: html5
Semantic elements mean that you can know the meaning of the content they represent by just looking at the element name
For example, for an article, there are page headers, table of contents, page numbers, footers and other information
If expressed by semantic elements:
Of course you don’t need these, you can also express it directly by using p etc.
This information is particularly useful for search engines, which can directly extract the article content by analyzing page elements
Tags like
p can be used to define styles. Semantic tags are easy to read and can be easily parsed by browser crawlers and machines. It is best not to nest them randomly