Summary of new features of HTML5

Source: Internet
Author: User

HTML5 new Features


  1. New DOCTYPE: <! DOCTYPE html> does not need to declare document types;
  2. Scripts and links do not require the type attribute, such as Lingk, script;
  3. semantic tags, such as: header, footer, Hgroup, mark, figure, Small, article,
  4. Properties and Validation,
    1. New attributes, such as: placeholder, required, autofocus, pattern, AutoComplete, data, contenteditable
    2. Automatic check, such as: Required automatic check is empty, pattern regular match, Min,max maximum
    3. Refinement, such as: Text classification type=[numner\range\date\color\search\emial],datalist, list
  5. Audio, video,
    1. Audio support: the. ogg format of Attr=[autoplay\controls],firefox, WebKit. mp3, Opera's. wav
    2. Video support: Attr=[controls\preload],safari and IE in the H. * Format (MPEG4), Firefox and Opera's Theora\vorbis format (OGG), WebM
  6. Image canvas, Filltype, Stroketype, DrawImage, pixel imagedata, context text write
  7. Offline storage, localstorage[long], sessionstorage[this session]

Summary of new features of HTML5

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.