HTML 5, platforms of online applications
To succeed to HTML 4, which is the current format of Web pages, the W3C, which sets the standards of the Net, has taken a specification started by the WHATWG.
This new format is implemented progressively by all browsers including Internet Explorer 9 is designed for Web applications and adds both new tags and new features. It is now a successor to Flash and Silverlight.
Steve Jobs said for Apple:
"Apple does not support Flash because it is so buggy. Whenever a Mac crashes more often than not it’s because of Flash. No one will be using Flash. The world is moving to HTML5."
(Apple Town Hall Meeting, January 2010).
HTML 5 vs Flash and Silverlight
Extended capabilities for Web applications
Using Web applications offline is the major trend since 2008. A framework, Google Gears, has been created for that, now replaced by equivalent functions in HTML.
In offline mode pages and objects they display are cached and a local SQL database stores the data to duplcate the remote base.
New graphical component has been added, see the list of form objects in HTML 5 and their current implementation in browsers.
The input tag can represent more types of objects and has new features like auto-complete. Output displays the result of calculations.
The addition of constraints on the data helps to secure the forms.
Section, article, header, footer tags are intended to give structure to a document.
Dialog is an object formalizing a discussion and is associated to a label element.
HTML has now canvas, audio, video tags and many other new elements.
Structure of an HTML 5 page
The tags required and new structure tags introduced with HTML 5.
Which one to choose?
Div and span
Differences in practical use.
How to know what checkbox is thicked for Ajax scripts.
How to organize tabular data.
InnerHTML and outerHTML
Accessing the content.
Tags to highlight a textual content
HTML has a series of tags to distinguish the essential or special in a text.
The HTML 5 tag, and conditional comments of Internet Explorer.
- Exchanging data between a page and iframes
Using the DOM or the standard WebMessaging API.
- Video codecs for HTML 5
Ogg, WebM, H.264 and their implementation.
Description and check for compatibility.
Web applications platform
HTML 5 is gradually supplemented by modules that transform the browser into an application platform.
Loading a text or an image in a page, from the local file system.
There is an equivalent to Ajax for scripts running in the browser, not on the server.
HTML 5 issues
HTML 5 tags on Internet Explorer 8
Tips for compatibility.