•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
最后编辑于 :
©著作权归作者所有,转载或内容合作请联系作者
- 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
- 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
- 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
推荐阅读更多精彩内容
- PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...