O'Reilly logo

Practical HTML5 Projects by Adrian W. West

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

C H A P T E R  9

Create Collages and Galleries

Static collages and galleries are popular ways of displaying several images (in addition to the rollover gallery described in Chapter 2). Collages are more decorative and normally have no captions. Gallery images usually require captions; these can be added using CSS or by using the new HTML5 <figure> tag. However, this last method requires the use of some JavaScript to enable IE 7 and IE 8 to understand the <figure> tag.

Prior to the launch of CSS in 1998, groups of pictures were arranged in a table. This resulted in a great deal of HTML markup. Tables are now deprecated and CSS is used to easily create rows and columns of pictures with much less HTML markup. Web designers naturally tend to think ...

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