What are the new features of HTML5, removing those elements? How do I handle browser compatibility issues with HTML5 new tags? How do I differentiate between HTML and HTML5?

Source: Internet
Author: User

* HTML5 is not a subset of SGML, it is mainly about images, location, storage, multitasking and other functions.

The increase.
* Painting Canvas

Video and audio elements for media playback
Local offline storage Localstorage long-term storage of data, the browser is closed after the data is not lost; Sessionstorage data automatically removes semantically better content elements such as article, footer, header, Nav, Section form controls, calendar, date, time, email, url, search

New technology Webworker, Websockt, geolocation
* Removed elements
Elements of pure expression: Basefont,big,center,font, s,strike,tt,u; elements that negatively affect usability: frame,frameset,noframes; support for HTML5 new tags:

* 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, add the default style of the tag:
* Of course the best way is to use the mature framework directly, the most used is how the Html5shim framework distinguishes: DOCTYPE declaration \ New structure element \ Functional Element

What are the new features of HTML5, removing those elements? How do I handle browser compatibility issues with HTML5 new tags? How do I differentiate between HTML and HTML5?

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.