In the eyes of many people, html should be the simplest language of all web-making languages, because it does not require compilation, enclosure, etc., and even just a notepad to make it rendered in the browser. So we have also seen many people say that html is simple and super simple, and there are many theories on the Internet, such as spending two or three days learning html to create web pages. In the eyes of these people, learning html is as simple as learning the English letter abc.
It is precisely such theory and ideas that people who learn html do not take it seriously, believing that html is just applications such as bold tags and italic tags. Such ideas are especially circulated among beginners, and once you truly understand and learn html in depth, you will find that html is far from as simple as you imagine.
As the tide of web standards swept the Internet, more people simply abandoned the many tags of html and used div only. It seems that div+css is the core of web standards. This wrong theory is tied to the html super simple theory and is spreading on the Internet. The changes in thoughts and actions ultimately resulted in many difficulties in implementing web standards on the domestic Internet.
The real web standard should be to advocate creating web page structure with more appropriate semantic tags, either writing divs throughout the page or meeting web standards. The same principle is that html is far from as simple as you think.
Visual factors account for half of the performance of a website in the browser, while the other half of the content depends on the structure of the web page.
We can see on the Internet that many pages are web pages with div structures. When these pages with div structures are combined with css, the entire page may be rendered in the browser normally, and there is no problem. But what if the user disables CSS? Whether the browser can correctly understand the web page structure and present it has become an important criterion for judging the quality of the web page structure. For these pages that are completely composed of div structures, it is obvious that after CSS is disabled, it is difficult for the browser to present a page with a clear structure, and it is naturally difficult for users to judge from the structure which content is the title and which content is the real content.
If the html tag that is more semantic in line with the page, even after the css style is disabled, the browser can still display the title according to the <h /> tag and the paragraph according to the <p /> tag, and finally present the user with a clear and clear structure.
If website construction is compared to building a building, then html is undoubtedly the cornerstone of the building. If the cornerstone is not stable enough, then the building is likely to face the risk of falling.
Understand and learn the tag semantics of html from a deep level, and attach importance to html from an ideological perspective. Don’t forget that the entire website is presented based on the html structure.