HTML5 Basic Summary (i)--label Change

Source: Internet
Author: User

with the continuous amplification of various apps such asRoid,ios mobile phone, tablet , and traditional html of the various imperfections, such as video relies on Flash, the phone and the desktop is incompatible and so on. HTML5 has come to solve these problems.


HTML5 is a the ( World Wide Web Consortium, World Wide Web Consortium) and WHATWG (

the results of the collaboration of WEB Hypertext Application Technology working Group). WHATWG is dedicated to Web forms and applications, while the website focuses on XHTML 2.0. In 2006, the two sides decided to work together to create a new version of HTML. Some of the rules established for HTML5:

  • The new feature should be based on HTML " css " dom JavaScript
  • reduce the need for external plug-ins (e.g. Flash )
  • Better error handling
  • More tags for replacing scripts
  • HTML5 should be independent of the device
  • The development process should be transparent to the public

Look at the two days of HTML5 data, a simple summary, here the focus from the perspective of the label to summarize. First look at the mind map:



One, OK, first look at the change in the label:

1 , the declaration of the document, in HTML5 need to be joined at the very beginning. <!doctype html> , equivalent to HTML5 a sign of it.

2 , adding tags, which is also HTML5 a powerful part of this, from the use, is divided into four categories:

a , structure tags, mainly used to partition the structure of the page, as we have previously divided the page into the title, left column, Content section, footer and so on. Look at HTML5 . These tags are available to me:


b , multimedia tags, which are used to solve all the previous Flash and so on to some of the video shows, these tags make HTML features are even more powerful:



C , the Web Application Tags:



D , input labels, which are mostly smart form labels, make validation more convenient:

  • Email
    Email must be entered
  • Url
    You must enter a URL address
  • Number
    Value must be entered
  • Range
    Values must be entered in a certain range
  • Date Pickers (date picker)
    There are several new input types that can be selected for the date and time:
    Date-Select day, month, year
    Month-Select months, years
    Week-Select minute
    Time-Select the Times (hours and minutes)
    DateTime-Select time, day, month, year (UTC time)
    Datetime-local-Select time, day, month, year (local time)
  • Search
    For the search domain, the field is displayed as a regular text field.
  • Color

e , other Tags:


3 , delete the label:



4 , redefine the label:



5 , the new layout, where the main and structural labels are combined, HTML5 The layout of the page has been arranged, to see a diagram:



This is the change of the HTML5 label, and it is the change of these tags, so that some basic functions have changed. Next blog, see some simple use of these tags.

HTML5 Basic Summary (i)--label Change

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.