O'Reilly logo

HTML5 and CSS3: Visual QuickStart Guide, Seventh Edition by Bruce Hyslop, Elizabeth Castro

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

About Images for the Web

Let’s look at the six factors you should keep in mind as you create Web images.

Format

People who print images on paper don’t have to worry about what their readers will use to look at the images. You do. The Web is accessed every day by millions of Macs, Windows-based PCs, phones, tablets, and other kinds of devices. The graphics you use in your Web page should be in a format that each of these operating systems can recognize. Presently, the three most widely used formats on the Web are GIF, PNG, and JPEG. Current browsers can view all three image formats.

You want to choose a format that gives you the best quality with the smallest file size.

The JPEG format is good for color photographs because it handles large amounts ...

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