Introduction to source code layout of HTML pages

Source: Internet
Author: User

XHTML specification: it must be in lower case, with the start and end tags, and double quotation marks for attributes.

HTML specification: It is case-insensitive and has the start and end tags. You can also put the end tag in the start tag, for example, <input type = 'text'/>. Double quotation marks and single quotation marks are available for attributes (must be paired ).

 

The root node of the HTML page. The code information of the page is stored in this node.

Head> node: head node. It contains the following subnodes:

Mete> tag: provides meta-information of a page, such as a page keyword;

Title> tag: the title of the page;

Script> tag: the area where Css and JavaScript code are generally stored;

Body> node: The content area of the page, which stores html Element Information.

Div> tag: stores all element controls.

Script> tag: Because the Html page is loaded from top to bottom, the content is not displayed once after loading, but the content is loaded and displayed simultaneously.

Series of articles =================================================== ====

Related Article

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.