You are currently using a web browser that does not support HTML 5 with style sheets. Please try the standard HTML 5, XHTML 1 or XHTML 1 Mobile version of this page instead.

Introduction to

Welcome to

HTML 5 Reference

HTML Tags and Attributes and HTML Cheat Sheet for HTML 5

This HTML-5 site provides a great reference for coding HTML 5 or converting to HTML 5 from HTML version 4, XHTML or earlier versions of HTML. (See the HTML 5 standard version of this site.) Note that the purpose of this HTML-5 site is not to duplicate the HTML 5 specifications and document every possible legal way to code HTML 5 documents. The goals of this HTML 5 Reference include:

  1. simplifying the understanding of HTML 5 coding, by providing a reference and examples that are consistent and which can be followed to develop sites that should not alternate between different ways that HTML 5 may be coded
  2. showing one way of coding HTML 5 that can be counted on to work under most circumstances (including browser apps on mobile devices), using Polyglot Documents
  3. promoting the use of future-proof HTML coding, HTML code that can stand the test of time
  4. assisting developers in the transition from HTML version 4 or XHTML 1 to HTML 5 (for example, the HTML Cheat Sheet not only provides a quick reference of valid elements in HTML 5, but also uses a strike-through font to indicate which elements are obsolete HTML tags), and
  5. using element names without an explicit namespace prefix, for more simple HTML coding, but having an associated namespace URI by default, to allow the HTML content to be aggregated with other types of content in other namespaces or handled by automated processes, using either HTML or non-HTML tools, such as syndicated feed readers and the parsers in SDKs , both server-based and mobile,

Converting to HTML 5

We are working on converting to HTML 5. Please visit the HTML 5 standard version of this site.

HTML 5 Tutorial and Reference

Authoring HTML
Features of HTML 5
What's New in HTML 5
HTML 5 Tutorial
HTML 5 Tag Reference
Common HTML Attributes
CSS Styles
HTML Metatags
HTML 5 Cheat Sheet
HTML 5 Examples
HTML Definitions
Polyglot HTML Documents
You may notice that, when there is a difference between the two possible flavors of HTML 5 syntax, rather than confusing things by presenting examples using both possible options, the syntax that is shown is one that could be used for documents that could be rendered by HTML browsers that interpreting the input in either way. These are known as Polyglot HTML Documents .
more definitions
Differences between HTML 4 and HTML 5
Things to avoid in HTML 5
FAQs about HTML 5 along with answers

Last updated Tuesday December 21, 2010

Printer-friendly PDF* format:

HTML 5 Reference and Cheat Sheet

This Section

You are currently viewing this page in HTML 5 Style Sheet* format (* see Clicklets for more infomation). This document is also available in HTML 5 XML*HTML 5 non-XML*XHTML 1 Style Sheet*XHTML 1*XML* HTML 4* XHTML Mobile* WML Mobile* and printer-friendly PDF* formats. This is accomplished with Single Source Publishing, a content management system that uses templates in XSLT style sheets provided by XML Styles .com to transform the source content for various content delivery channels. There is also RDF* metadata that describes the content of this document.