HTML 5 Tutorial

HTML 5 Document Structure

Converting to HTML 5

The type of serialization of an HTML document refers to the syntax used when converting the HTML from an internal document model to a stream of bytes to be stored or transmitted. The XML style of serialization has a number of advantages, including:

HTML 5 has been designed to be relatively backward compatible with both the 1997-1999 HTML 4 standard and the 2000-2001 XHTML 1.x W3C recommendation of HTML. The XML serialization of HTML 5 merges these two standards, and is already understood by virtually all web browsers including XHTML-based mobile browsers. Polyglot HTML documents can be delivered either as text/html to traditional web browsers or as application/xhtml+xml to web browsers on computers as well as in cell phones and other handheld devices. If you start creating polyglot documents now your web pages will be well positioned for both current and future HTML browsers and mobile devices.

Prev: HTML 5 MIME Type Next: HTML Code 

Home > Tutorial > Tutorial

Viewing mobile website page. Switch to WML or Full HTML