Introduction

Welcome to HTML5, the new edition of HTML.

Many people are saying that it’s about time for HTML5—HTML 4.01 was completed in 1999. Others are saying that what HTML5 offers is just too good to pass up. We hope you’ll agree with both opinions.

HTML5 goes beyond all previous versions of HTML in scope and power. In fact, its biggest additions are in the scripting realm, not in the traditional realm of HTML elements at all. So if you’re expecting just a list of new HTML elements, this book may surprise you. HTML has learned about JavaScript, and puts it to work extensively.

For example, HTML5 supports drag and drop, but you’ve got to use a scripting language like JavaScript to make it work. HTML5 also supports a Canvas control in which ...

Get Sams Teach Yourself HTML5 in 10 Minutes 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.