In June 2013, will be hosting a live HTML5 training course in Maryland, developed and taught by David Geary. David is the author of Core HTML5 Canvas (as well as eight best-selling Java texts), is a three-time Java Rock Star at Java One, and has spoken and taught all over the world.

Basic Structure of an HTML5 Document

The following describes the most basic tags needed for a legal HTML5 document. All of the tags will work in pre-HTML5 browsers, even very old browsers. Click on the "details" link for an explanation of each element. Please send corrections and suggested improvements to

<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8"/>
<link href="css/some-stylesheet.css"
<script src="scripts/some-script.js">
Required (details)
Required (details)
Treat as required (details)
Optional (details)

Optional (details)

Many new elements (details)

More Info