New features of HTML5 and browser compatibility issues with new tags

Source: Internet
Author: User

New features:

HTML5 is now not a subset of SGML, mainly about image, location, storage, multi-tasking and other functions.

1) Drag release (Drag and Drop) API

2) semantically Better content tags (header,nav,footer,aside,article,section)

3) audio, Video API (Audio,video)

4) Canvas API

5) Geography (geolocation) API

6) Local offline storage localstorage long-term storage data, the browser is closed after the data is not lost;

7) sessionstorage data is automatically deleted after the browser is closed

8) Form control, calendar, date, time, email, url, search

9) New technology Webworker, WebSocket, geolocation

Elements to remove:

1) Pure expression of the elements: Basefont,big,center,font, s,strike,tt,u;

2) elements that have a negative impact on usability: frame,frameset,noframes;

Support for HTML5 new tags:

1. IE8/IE7/IE6 supports the label generated by the Document.createelement method, which allows these browsers to support HTML5 new tags, and after the browser supports new tags, You also need to add the default style of the label (the best way is to use the mature framework directly, the HTML5SHIV framework is the most used):

1 <!--[if23
how to differentiate:

DOCTYPE declaration of new structural elements, functional elements

New features of HTML5 and browser compatibility issues with new tags

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.