Each html tag has its own semantics (that is, its role). Using the corresponding html tag according to the document structure is the semantics of the document. For example, use the H tag for the title, use the footer tag at the end of the page, etc.
You are talking about a lot of semantic tags. To put it simply, if you think about the past 4.0, tags were troublesome to use and had no semantic expression. But now there are many more tags and you can understand the meaning at a glance. There are many area tags, such as<nav> <header> <footer> <vedio> <audio> used.
Refer to the following two links:
Each html tag has its own semantics (that is, its role). Using the corresponding html tag according to the document structure is the semantics of the document. For example, use the H tag for the title, use the footer tag at the end of the page, etc.
You are talking about a lot of semantic tags. To put it simply, if you think about the past 4.0, tags were troublesome to use and had no semantic expression. But now there are many more tags and you can understand the meaning at a glance. There are many area tags, such as<nav> <header> <footer> <vedio> <audio> used.
The tags must be meaningful. Just by looking at the tag name, you can roughly know what the content is or which part of the web page it belongs to