Foreword HTML 5 is like a revolution, which is going on vigorously in the post-Web2.0 era. There is no need for me to go into details here about what HTML 5 is. As for the innovation of HTML 5, according to my understanding, it can be summarized as a tag system with clear semantics, rich media support that simplifies complexity, magical local data storage technology, rich animation (canvas) that does not require plug-ins, and powerful API support. . In short, HTML 5 makes human-computer interaction more comfortable and user-friendly. The previous lack of support for rich media applications and native storage is no longer a pain point for browsers. Pushing the Web from a content platform to a standardized application platform and unifying the standards of various platform camps is the original intention of the HTML 5 revolution. In this article, I will introduce some ideas and explain one of the innovations of HTML 5: a clearer and simpler structure with clearer semantics. Starting from the "head", a standard XHTML header code should be like this:
Can you remember it? Will you memorize it by rote? Of course not! We just need to mechanically copy and paste. Let’s look at what a standard HTML 5 header looks like: |