HTML5 Page Layout-1

Source: Internet
Author: User

1. New features in HTML5

In HTML, the beginning of the declaration is this:

<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">

Where the root element of the document is declared to be HTML, it is defined in the DTD that the public identifier is defined as "-//W3C//DTD XHTML 1.0 transitional//en".

The browser will understand how to find a DTD that matches this public identifier. If it is not found, the browser uses the URL following the public identifier as the location for the DTD.

Also, be aware that the three document types specified in HTML 4.01, the three types of XML documents specified in XHTML 1.0 are: Strict, transitional, and Frameset.

And this sentence

  

  

HTML5 is no longer so cumbersome, just need:

<! DOCTYPE html> will be all right.

HTML5 Page Layout-1

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.