Differences between xhtml and html5.
Browser support statistics for html5.
The first draft of HTML 5 was started in 2004. Its corrections were to define a single language of HTML that could be written in HTML syntax and in XML syntax. Also it defined detailed processing models to foster interoperable implementations, improve markup for documents and introduce markup and APIs for emerging idioms, such as Web applications. Some of the most interesting new features are the element for 2d drawing, the and elements for media playback, Support for local storage, and new for controls, like calendar, date, time email, url and search. HTML 5 is not yet an official standard, and no browsers have full HTML 5 support. But almost all major browsers continue to add new HTML 5 features to their latest versions. These browsers are Safari, Chrome, Firefox, Opera, and Internet Explorer.
To use media in your next HTML5 application, you need to know what formats are supported. HTML5 supports AAC, MP3 and Ogg Vorbis for audio and Ogg Theora, WebM and MPEG-4 for video. Even though HTML5 supports these media formats, however, not every browser supports every format. Below shows current browsers and the media formats they support.
Browser Video Formats Audio Formats
Ogg Theora H.264 VP8 (WebM) Ogg Vorbis MP3 Wav
Internet Explorer Manual install 9.0 Manual install No Yes No
Mozilla Firefox 3.5 No 4.0 Yes No Yes
Google Chrome 3.0 No 6.0 Yes Yes Yes
Safari Manual install 3 Manual install No Yes Yes
Opera 10.50 No 10.60 Yes No Yes
Vorbis is a free software/ open source project headed by the Xiph.Org (formerly Xiphophorus company). The project produces an audio format specification and software implementation (codec) for lossy audio compression. Vorbis is most commonly used in conjunction with the Ogg container format and it is therefore often referred to as Ogg Vorbis. Vorbis project started as part of the Xiphophorus company’s Ogg project (also known as OggSquish multimedia project). Vorbis had been shown to perform significantly better than many other lossy audio formats in the past in that it produced smaller files at equivalent or higher quality while retaining computational complexity comparable to other MDCT formats such as AAC or Windows Media Audio. However, there have not been many significant tests run in recent years.
The HTML5 draft specification adds video and audio elements for embedding video and audio in HTML documents. The specification had formerly recommended support for playback of Theora video and Vorbis audio encapsulated in Ogg containers to provide for easier distribution of audio and video over the internet by using open standards, but the recommendation was soon after dropped.
WebM is an audio-video format designed to provide royalty-free, open video compression for use with HTML5 video. The project’s development is sponsored by Google Inc. A WebM file consists of VP8 video and Vorbis audio streams, in a container based on a profile of Matroska. The project releases WebM related software under a BSD license and all users are granted a worldwide, non-exclusive, no-charge, royalty-free patent license.
The WebM project’s goal is to develop “a high-quality, open video format for the web that is freely available to everyone.” The project has the backing of Google, Mozilla, Opera, and numerous other companies. If it catches, on, it could settle the rift that currently exists with HTML5 video support, thus speeding up HTML5 adoption. Currently, there are two competing formats being used for video embedded using HTML5: H.264 (backed by Apple and other companies) and Ogg Theora (backed by Mozilla). Safari, Chrome, and other browsers support H.264 video, as will the upcoming Internet Explorer 9. On the other hand. Mozilla Firefox supports only Ogg Theora video.
Ogg is a free, open container format maintained by the Xiph.Org Foundation. The creators of the Ogg format state that it is unrestricted by software patents and is designed to provide for efficient streaming and manipulation of high quality digital multimedia. Ogg is the same as OGG VORBIS!