HTML5

Support for several features defined in the HTML5 Working Draft specification began with Windows Internet Explorer 8 and was extended in Windows Internet Explorer 9. Internet Explorer 10 and Windows apps using JavaScript for Windows 8 support even more of HTML5. Internet Explorer 10 and Windows apps using JavaScript support the following features:

Important  Except where noted, these features work identically in Internet Explorer 10 and Windows apps using JavaScript.

 

In this section

Topic Description

Application Cache API ("AppCache")

AppCache enables webpages to cache (or save) resources locally, including images, script libraries, style sheets, and so on.

Asynchronous script execution

The async attribute for the script element enables the associated script to load and execute asynchronously with respect to the rest of the page.

Channel messaging

Channel messaging enables code in different browsing contexts to communicate directly via ports. After the ports are created, the endpoints communicate by using a combination of the postMessage method and the onmessage event.

Drag and drop

Drag-and-drop functionality is something that computer users have come to take for granted as "just working," and there are a few ways to enable it within the browser.

File API

File API is a World Wide Web Consortium (W3C) draft web specification for representing file objects in web applications, as well as programmatically selecting them and accessing their data.

Forms

Internet Explorer 10 and Windows apps using JavaScript add new support for HTML5 Forms, including new states of the type attribute (on the input element), new attributes for the input element, and the progress element.

History

Internet Explorer 10 introduces support for the History interface of the HTML5 draft specification, which includes methods that enable you to manage a site's history stack and URL.

Parsing

Internet Explorer 10 and Windows apps using JavaScript fully support the HTML5 parsing algorithm, continuing the effort started in previous releases toward making HTML "just work" in the same way across browsers.

Sandbox

The sandbox attribute enables security restrictions for iframe elements that contain untrusted content. These restrictions enhance security by preventing untrusted content from performing actions that can lead to potentially malicious behavior.

Spellcheck

The spellcheck attribute is part of the W3C's HTML5 specification that adds spell checking to input and textarea elements and editable text fields.

x-ms-acceleratorKey

The x-ms-acceleratorKey attribute provides a way to declare that an accelerator key has been assigned to an element.

Video

Internet Explorer 10 and Windows apps using JavaScript also introduce advances in HTML5 video.

Web Workers

The Web Workers API defines a way to run scripts in the background.

WebSocket API

WebSockets technology provides a new W3C JavaScript API and protocol for two-way communication over the Internet. This new protocol makes it easier to work directly with fixed data formats, and it bypasses the slower document-based HTTP protocol.

 

Internet Explorer 10 Guide for Developers