HTML (HyperText Markup Language) is the predominant language of web pages.
Whenever you read or interact with a page in your browser, chances are it’s an
HTML document. Originally developed as a way to describe and share scientific

papers, HTML is now used to mark up all sorts of documents and create visual in-
terfaces for browser-based software.

With HTML5, however, HTML has become as much an of API (Application Pro-
cessing Interface) for developing browser-based software as it is a markup language.

In this book, we’ll talk about the history of HTML and HTML5 and explore some
of its new features.
HTML5 also improves existing elements. With its new input types, we can create
rich form controls without the need for a JavaScript library. For example, if you
want a slider input control, you can use <input type=range>. Input types such as
email and url add client-sidevalidation tothe mix. New audio and video elements
let us embed audio and video media directly in our documents. Both elements also
have scripting interfaces that we can use to create custom media players or clever
visual effects. And we can do this without the need for a plugin in supporting
We can draw in HTML5 with the addition of the canvas element and support for
inline Scalable Vector Graphics (or SVG). The canvas element is a powerful bitmap
drawing API that lets us create 2D or 3D images, charts, and games. SVG, on the
other hand, uses vector graphics to create reusable, scalable, scriptable images that
work across devices and screens.