[Innovations in HTML 5: the beauty of structure]: the beauty of html's innovative structure

Source: Internet
Author: User

[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:
  1. <! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <Html xmlns = "http://www.w3.org/1999/xhtml">
  3. <Head>
  4. <Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312"/>
  5. </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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.