Chapter 1New Features of HTML5

HTML5 contains quite a number of new tags and approaches to building web pages. The doctype has been simplified. Audio, video, and drawing have become native. Even the way data is handled via local storage has changed how web pages can behave. But this version of HTML offers more than these features. HTML5 takes into account the problems designers and developers have experienced in conforming to standards.

Before delving into the intricacies of HTML5 code, let it be clear that the first new feature is at the top of every page. The doctype is now simply as follows:

image

Gone are the transitional and strict doctypes. I, ...

Get HTML5 Multimedia Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.