[Innovations in HTML 5: the beauty of structure]: the beauty of html's innovative structure
Preface HTML 5, like a revolution, is under vigorous development in the post-Web2.0 era. What is HTML 5? I don't need to repeat it here. According to my understanding, it can be summarized as a tag system with clear semantics, rich media support with simplified complexity, magic local data storage technology, rich animation without plug-ins (canvas), and powerful API support. In short, HTML 5 makes human-computer interaction and human-network interaction more comfortable and fit the user. In the past, poor support for rich media applications and local storage is no longer a pain point for browsers. The original intention of the HTML 5 revolution was to push the Web from the content platform to the standardized application platform and unify the standards in the platform camp. In this article, I will discuss one of the innovations of HTML 5: a more clear and concise structure of semantics. The standard XHTML header code from "Header" should be like this:
- <! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <Html xmlns = "http://www.w3.org/1999/xhtml">
- <Head>
- <Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312"/>
- </Head>
Can you remember to copy the code? Will you memorize it? Of course not! We only need mechanical copy and paste. Let's take a look at how a standard HTML 5 header works: |
Read the full text