Chapter 7. Images and Graphics

For many years the only way to display images on the Web was to use JPGs and GIFs, with the former generally used for photographs and the latter for icons and graphics. These formats were later joined by the PNG format, which largely ousted the GIF (for icons at least, although not for animations of cats). But they are all inert image formats; other than simple animation frames, they aren’t capable of handling dynamic or interactive images or graphics, which was generally done with third-party plug-ins such as Flash.

Modern browsers, however, have the luxury of two new graphical formats: Scalable Vector Graphics ...

Get The Modern Web 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.