Tags are used in HTML5 to place and organize content at a level that is descriptive. This does not mean that the page will look good. Presentation of content on the page is controlled using Cascading Style Sheets Level 3, or CSS3, in HTML5.

There are times, however, when you need to present graphics, too. Typically, HTML has only provided support for pixel-based images in JPEG and 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 XML-based language that describes how an image should be displayed in two-dimensional (2D) constructs. The CANVAS tag also describes 2D images, but ...

Get Rendering HTML5 Illustration now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.