1.HTML5 will become the new standard for HTML, XHTML and HTML DOM.
2. New features in HTML5:
1) Canvas: for painting
2) Video and Audio: for Media playback
3) Better support for local offline storage.
4) New special content elements: article, footer, header, nav, section
5) New form controls: such as calendar, date, time, email, url, search
3. Some rules of HTML5:
1) New features are based on HTML, CSS, DOM and JavaScript
2) Reduce the need for external plug-ins, Like Flash
3) Better error handling
4) More tags that replace scripts
5) HTML5 should be device independent.
6) The development process is transparent to the public
4. New version of browser support:
The latest version of Safari, Chrome, Firefox and Opera Supports some HTML5 features. Internet Explorer 9 will support certain HTML5 features.
5. HTML5
The declaration must be located on the first line in the HTML5 document. It is very simple to use:
The above is the detailed content of A first look at HTML5. For more information, please follow other related articles on the PHP Chinese website!