What to expect from HTML5

Edward O’Connor

History

Mismatch

Mismatch

HTML5

HTML5 is a specification of HTML as it appears in the real world.

http://whatwg.org/html5 http://dev.w3.org/cvsweb/html5/spec/

HTML5 not defined in terms of SGML

Tag Soup

Browser requirements

Doctype

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

No SGML means: no public identifier, no DTD

<!DOCTYPE html>

Triggers standards mode in Opera, IE, Firefox, and Safari.

Dropped elements

Authors aren’t allowed to use

<acronym> <basefont> <big> <center> <dir> <font> <frame> <frameset> <isindex> <noframes> <noscript> <s> <strike> <tt> <u>

But browsers are still required to handle them.

New elements

Document structure

Many of the new elements came from studying real-world use of @class — how are authors compensating today for missing elements?

Document structure (con’t)

2D Graphics API

Media

Web Forms 2.0

You can help!

The W3C and the WHATWG are working on the same spec, and both working groups are open to the public!