Hour 15Creating Print-Friendly Web Pages

If you’ve ever used an online mapping tool such as MapQuest or Google Maps, you’ve no doubt experienced the need to print a web page. It’s true, web pages aren’t designed entirely for viewing on the screen. You may not realize this, but it’s possible to specifically design and offer print-friendly versions of your pages for visitors who want to print a copy for offline reading. In fact, CSS makes it very straightforward to create web pages that can change appearance based on how they are viewed. This lesson shows you how to create such pages.

Try It Yourself

As you work your way through this lesson, consider any of your own web pages that might look good in print. Then think about what you would ...

Get Sams Teach Yourself HTML and CSS in 24 Hours, Seventh Edition 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.