HTML5

HTML5 is the next generation hypertext markup language standard developed by the World Wide Web Consortium. It is used by web programmers and designers — typically in conjunction with JavaScript and CSS — to lay out web pages, which people can then view in web browsers. As of July 2010, HTML5 is still not widely supported nor standardized, though browsers such as Google Chrome, Apple Safari , and Mozilla Firefox have implemented various parts of the language. This unofficial status will likely persist for some years still, with the W3C currently expecting HTML5 to become a recommended technology in 2012 and a full standard not before 2022.

HTML5 represents an important step forward technologically, as it gives web developers greater capabilities and more flexibility in interacting with the underlying operating system. One important new capability is offline storage, which allows sites to better handle persistent sessions for their users. For example, if a user is editing a document in an online web editor, HTML5 allows some portion of the state associated with the document to be saved onto the user's computer -- rather than saving all of it to the server, as is currently done. This reduces the server load, and also provides a faster, more responsive experience for the user, as less data needs to be transferred over the network. Other new capabilities include a multipurpose graphical element called, as well as native embedding of video and audio.

HTML5 also is a milestone politically and socially in the web world. As the web has evolved, many vendors have created proprietary technologies to enable greater functionality for their applications. Some of the most important include Adobe's Flash plugin, as well Microsoft's Silverlight and their browser Internet Explorer. Internet Explorer has a notable reputation for employing non-standard extensions to web technologies. While such innovations enable a richer user experience, they also fragment development, and make cross-browser compliance challenging for developers. HTML5 offers the opportunity to continue to support advanced interface demands, but to do so in an open, community-approved way. Indeed, in the words of Ian Hickson, one of the designers at W3C, "One of our goals [for HTML5] is to move the Web away from proprietary technologies." Such a step would lay the groundwork for the web's increasing dominance over the next decade.

History
HTML5 is largely a creation of the WHATWG, which is an acronym for the longer and less common name Web Hypertext Application Technology Working Group. The WHATWG developed organically in 2004 as an alliance of people interested in rapidly advancing the state of web technology. It can be joined by anyone, though its principal support comes from Apple, Mozilla, and Opera, maker of the alternative browser of the same name. The WHATWG developed in counterpoint to the W3C, as many of the member of the WHATWG felt that the W3C was not doing enough to rapidly introduce new web technologies. Additionally, they were displeased that the W3C had decided to stop developing HTML in favor an XML-compliant alternative known as XHTML, since, though this approach had some academic allure, it ignored the realities of how people actually used the web. Today, the HTML5 specification editor is Ian Hickson, who is also one of the original and most active members of WHATWG. Interestingly, Hickson now works at Google, which has been noted by many as an important signal of Google's commitment to HTML5.

Implications and Significance
HTML5 is an important extension to the current web development toolkit, both from a technical perspective and from a social and political standpoint.

Technical Significance
HTML5 allows webpages to have much greater control over the user's browsing experience, thereby enabling better and more sophisticated web applications. Additionally, in conjunction with superior JavaScript interpreters, it provides more efficient implementations of user interface technologies, thereby providing a smoother, less resource-intensive experience. These innovations build toward the concept of thin-client computing, in which the user accesses the network via a relatively simple client, and where the more intensive computing is performed by servers. This was the original vision of Marc Andreessen, the co-founder of the early web browser company Netscape, though it has not yet been realized.

However, more powerful technical abilities also means that HTML5 presents a potentially greater security threat. A malicious website could use the more sophisticated technologies, such as storing data on the user's client, in order to take over or infect the machine. HTML5 has been developed with an awareness of such issues, though, and has introduced several new security measures to address such concerns. Many of them are focused on ensuring that webpages which pull content from a variety of sources — an increasingly common real-world application — accord each source the proper security rights. The careful and consistent application of such security principles will be an ongoing challenge for the web community as HTML5 grows in popularity.

Social and Political Significance
Tim Berners-Lee, the creator of the World Wide Web and co-chair of the W3C, recently stated that, "HTML 5 is still a markup language for webpages, but the really big shift that's happening here—and, you could argue, what's actually driving the fancy features—is the shift to the Web [supporting applications]." In other words, HTML5's purpose and power lies in a fundamental shift in how people use the web; rather than it being a repository of static information, it is a medium through which users interact with and manipulate the world. The desktop computing paradigm—with its accompanying bulky, expensive hardware—will begin to be replaced by a lighter-weight and more pervasive internet-based paradigm. This change will likely have a profound effect on how society interacts with technology, and how individuals interact with each other. Its eventual ramifications are impossible to predict.

HTML5 also has important political significance within the larger web community. It demonstrates the ability of the non-profit, non-governmental W3C—working in concert with today's most important technology companies—to create modern, relevant standards. It also reflects the growing backlash against closed-source, proprietary, or non-standards-compliant technology solutions. Though some of HTML5's promise can be approximated today with browser plugins like Adobe's Flash and Google Gears, HTML5 has risen with the growing preference—on the part of developers as well as consumers—for solutions which are not controlled by any one entity. In many ways, this movement is only an extension of the larger democratizing effect of the web, but its increasing power reinforces democracy and the individual as central concepts within the global internet movement. In the words of Dave Clark, a prominent member of the Internet Engineering Task Force (IETF), "We [as internet and web technologists] reject: kings, presidents, and voting. We believe in: rough consensus and running code."

Brief Overview
In HTML5, the Document type declaration should be as shown :

According to the W3C publication - A Web Developer’s Guide to HTML 5, each element in HTML falls into zero or more categories that group elements with similar characteristics together. The categories are Metadata content, Flow content, Sectioning root, Sectioning content, Heading content, Phrasing content, Embedded content, Interactive content and Transparent.

HTML 5 is being defined in terms of the Document Object Model (DOM)-the tree representation used internally by browsers to represent the document, unlike the case in HTML4 which is defined in terms of its syntax. It has extended the  interface from DOM Level 2 HTML. The  interface can now be implemented on all objects This allows HTML5 to be defined independently of syntax and there are two primary syntaxes that can be used to do this: the HTML serialization (known as HTML 5) and the XML serialization (known as XHTML 5).

In addition to this fundamental change, HTML5 unlike its previous version is not based on SGML. The reason for this is given in the HTML5 Overview published by the W3C and is quoted here:

Markup
As per the published draft document (as of August 2010), in addition to several new elements, which include tags for multimedia content such as  and   among others, there have been addition (and deprecation) of several attributes for elements that are already adopted from the current widely used HTML4 specification. New tags include. There is a greater emphasis on structure in this newer version of HTML and to avoid the overly use of the div and span, new tags such as  etc. have been introduced.

In addition to new elements, new attributes have been added to existing HTML4 tags, some of which are mentioned here to provide an overview of the brought about changes. The a and area elements now have media and ping attributes. The style element has a new scoped attribute. The script element has a new attribute called async.

Use of APIs
New APIs are available in the latest version of HTML and is used together with new elements that have been introduced to handle them. The APIs bring about newer and richer functionality in the way content on the web is delivered to the end user. The most talked about is the multimedia API for playing of video and audio content using the new and elements. The specification also mentions about new APIs that enables offline Web applications, that allows a Web application to register itself for certain protocols or media types, an editing API in combination with a new global content editable attribute, a Drag & drop API in combination with a draggable attribute and an API that exposes the history and allows pages to add to it to prevent breaking the back button.

Evolution from HTML4
The W3C standards organization has published both a document containing the specifications of HTML5 and also one on how the specification differs from the now mature and more widely used HTML4 (Note that the HTML5 specification is a working draft and is subject to changes). Ian Hickson, a researcher at Google is the editor of the working draft and the W3C HTML Working Group is the W3C working group responsible for this specification's progress. Discussion of the specification also takes place among the WHATWG (Web Hypertext Application Technology Working Group) community. See Markup section above.

Effect on Flash
Although Flash playback support is available in some mobile devices such as those running the latest version of the Android - Google's mobile OS(through Adobe's Flash player v10.1 beta ) - there are several cases where it is not yet supported as there is no official flash player plug-in released. Moreover, citing reasons such as reliability, security, performance concerns and usability issues such as UI components with rollover gestures not being possible in a touch screen environment with Adobe Flash, Apple's Steve Jobs wrote about the reasons why Apple is ditching flash playback support for devices like the iPad and iPhone in favor for HTML5 which is more integrated into the browser and does not require a third party plug-in. To cater their services to the large number of owners of these devices and others which do not support Flash, numerous web sites such as those that provide news, sports and video, have started publishing richer web content using HTML5 particularly for deploying multimedia content. This has led to widespread adoption of HTML5 in recent times with the trend expected to grow dramatically in the future. In addition to Apple, several other companies have also embraced HTML5. These include Google and Microsoft (in spite of the company's commitment to Silverlight - a plug-in that provides a mechanism for delivering rich web content à la Flash). Video sites like Youtube, Vimeo and others have also jumped on the bandwagon with Youtube having started experimenting with HTML5 at the start of 2010 and is now in the process of converting most of its video to the new format.

Controversy over codec used for the element
The HTML5 specification is such that it enables developers to use non-proprietary video codecs of their choice for the video tag. Popular video codecs of choice include the open source Ogg-Theora and h.264 codecs. However, there has been dispute over the default codec to be used. The open source community stands by and insists making Ogg-Theora the default codec due to its lesser patent regulations and licensing advantages. On the other hand, Apple, Adobe and Google citing quality concerns and other issues opposes the widespread adoption of Ogg-Theora causing browsers like Google's Chrome and Apple's Safari to be bundled with support for h.264 (though Chrome supports Theora codec as well) and Mozilla's Firefox supporting the Theora video and the Vorbis audio codec through the Ogg container. To support the development of Theora, the Mozilla foundation has provided a $100,000 grant to the Wikimedia Foundation.

HTML5 Adoption
In order for HTML5 to become a successful technology, it must both be widely supported by users' browsers and widely taken advantage of by web developers and designers. Though official standardization is still years away, significant steps have been made in both areas already.

Browser Support
Web browsers use a component called a rendering engine for converting HTML into a human-viewable format. This is the primary component of the web browser, but other components typically include a JavaScript interpreter, as well as associated code for network access and transfers, the graphical user interface (GUI) and more. Each of the major web browsers tends to use its own rendering engine, although the relationship can be somewhat complicated, with Safari and Chrome notably sharing the WebKit engine. The following table, adapted from Wikipedia, outlines the most common rendering engines used today.

Each of the aforementioned rendering engines implement HTML5 to varying degrees and in varying forms. The following table, adapted from Wikipedia, summarizes the state of HTML5 support for each engine.

Website Support
Though years away from ubiquity, HTML5 has been warmly embraced by many developers. It is the preferred rich internet application development framework of Apple. Indeed, Apple's popular iOS, which runs on the iPhone and the iPad does not support Flash or Silverlight at all, which are HTML5's main competitors today. It also is supported by Google's YouTube, enabling smoother video playback on a wider variety of platforms. Other Google products, such as GMail and Google Maps also take advantage of some HTML5 features, and Google has declared its commitment to the language. Finally, HTML5 is growing in popularity with even small developers. VisionWidget, a well-respected publication in the visual and web design community, recently produced a list of 22 independent websites that take advantage of HTML5 features. Such compilations abound, as HTML5 has begun to be incorporated into all manner of sites and designs.