HTML and CSS Reference
In-Depth Information
HTML5 makes type officially optional, but still validates older documents that do
include the attribute. This makes sense, as there is really only one standard scripting
language and only one styling language for the Web in use today.
See Also
The W3C Working Draft discussion on differences between HTML4 and HTML5
includes changed attributes at .
1.5 Adding Document Structure with HTML5's New Elements
You want to define your document structure with the new header , footer , nav , aside ,
section , and article elements.
Examine your content and document structure to determine which of the new elements
work with your page:
Is used to contain the headline(s) for a page and/or section . It can also contain
supplemental information such as logos and navigational aids.
Contains information about a page and/or section , such as who wrote it, links to
related information, and copyright statements.
Contains the major navigation links for a page and, while not a requirement, is
often contained by header .
Contains information that is related to the surrounding content but also exists
independently , such as a sidebar or pull-quotes.
Is the most generic of the new structural elements, containing content that can be
grouped thematically or is related.
Is used for self-contained content that could be consumed independently of the
page as a whole, such as a blog entry.
A simple blog structure, with a headline, navigation, a sidebar, blog posts, and a footer,
could be marked up in HTML5 as:
<h1><abbr title="Hypertext Markup Language">HTML</abbr>5, for Fun &amp;
Search WWH ::

Custom Search