HTML5 Study Notes 1

Source: Internet
Author: User

1. Reference website (http://w3c.org)

In addition, the Mozilla Developer Network (http://developer.mozilla.org) is more approachable and less authoritative.

Example code: apress.com

2. Empty element: There is not necessarily content between the start and end tags of an element, an element with no content is called an empty element

3. Virtual elements: Some elements can only be represented by one label, and any content placed in it does not conform to the HTML specification. Such elements are called virtual elements. For example:

Two representations: the first, using only the start tag

4. Element properties:

An element can have multiple properties applied

Boolean property

User-defined properties: Start with data-

5. The various software used to process HTML documents has a common name called the user agent, the browser is the most popular user agent, but not the only one.

6. HTML5 emphasizes the separation of content and presentation form

7. Parent element, child element, descendant element, and sibling element

There is a clear relationship between the elements in the HTML document, and the element that contains the other element is the parent element of the contained element.

An element can have multiple child elements, but only one parent element.

Elements that are contained in other elements can also contain other elements.

8. The HTML5 specification divides elements into three main categories:

Meta data type (metadata element): constructs the basic structure of an HTML document and provides information and instructions to the browser on how to handle the document

Flow element: A stream element is a superset of a phrase element. That is, all phrase elements are flow elements, but not all flow elements are phrase elements.

Phrase elements (phrasing element):

9. HTML entity: An entity is a code that the browser uses to replace special characters.

  

  

HTML5 Study Notes 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.