HTML5 VS HTML

•HTML5 includes detailed processing models to encourage more interoperable implementations.
•HTML5 extends, improves and rationalises the markup available for documents.
•HTML5 introduces markup and application programming interfaces (APIs) for complex web applications.
•HTML5 is a potential candidate for cross-platform mobile applications.
•HTML5 makes it easy to include and handle multimedia and graphical content on the web without having to resort to proprietary plugins and APIs.
•HTML 5 contains much better support for media, such as, audio and video tags.
•In HTML5, JS GeoLocation API helps in identifying location.
•HTML5 defines detailed parsing rules, including error handling.
•HTML5 defines an HTML syntax that is compatible with HTML4 and XHTML1 documents published on the Web.
•HTML5 syntax is not compatible with the more esoteric SGML features of HTML4, such as processing instructions and shorthand markup.
•HTML5 can use the XML syntax.
•New features of HTML5 were based on HTML, CSS, DOM, and JavaScript.
•HTML5 has better error handling.
•HTML5 has reduced need for external plugins, like Flash.
•HTML5 has more markup to replace scripting
•HTML5 is device independent.
•HTML5 has the canvas element for drawing.
•HTML5 has better support for local offline storage.
•HTML5 has new content specific elements, like article, footer, header, NAV, section.
•HTML5 has new form controls, like calendar, date, time, email, URL, search.
•HTML5 has new parsing rules.
•HTML5 is oriented towards flexible parsing and compatibility
•HTML5 is not based on SGML.
•HTML5 has the ability to use inline SVG and MathML in text/html.
•HTML5 has new attributes, such as, charset (on meta), and async (on script).
•HTML5 has global attributes that can be applied for every element, such as id, tabindex, hidden, data-*
•HTML5 does not contain deprecated elements, such as acronym, applet, basefont, big, center, dir, font, frame, frameset, isindex, noframes, strike, tt

你可能感兴趣的:(HTML5 VS HTML)