O'Reilly logo

HTML5, 2nd Edition by Matthew David

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Rendering HTML5 Illustrations

Visual design is managed with Cascading Style Sheets. Pictures and images, however, have their own set of standards for HTML5. Typically, HTML has only provided support for pixel-based images in Joint Photographic Experts Group (JPEG) and Graphic Interchange Format (GIF) image format. With HTML5, you can now create mathematically generated images. The new formats are scalable vector graphics (SVG) and CANVAS. The difference between the two is that SVG is an Extensible Markup Language (XML)-based language that describes how an image should be displayed in two-dimensional (2D) constructs. The CANVAS tag also describes 2D images, but it does so using JavaScript. The CANVAS tag also allows you to easily integrate ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required