html5 uses semantic elements to: 1. Increase the accessibility of the website and help create a better website structure; 2. Facilitate later modification and maintenance; 3. Make it easier for screen readers and other auxiliary tools to The page is scanned to provide a better online experience for people with disabilities; 4. Conducive to search engine optimization.
The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.
Understanding the meaning of words during communication in any language is crucial. If this were computer communication, it would become even more critical. Therefore, HTML5 provides more semantic elements to understand the code easily.
Thus, semantics defines the meaning of words and phrases, i.e.
Semantic elements = elements that have meaning. Semantic elements have simple and clear meanings for both browsers and developers.
For example:
In HTML4, we see that
On the other hand,