Using the Example File

For creating the examples in this and the following chapter, you'll be working with a new example file, traveltips.html, a page of international travel tips. You'll find this file with the other example files for this book, if you've downloaded the example files from this book's web site and extracted them to your working folder. You can also type in the example HTML file yourself, if you wish:

Listing 7.1. TRAVELTIPS.HTML—International Travel Planning Tips
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>International Travel Planning Tips</title> <style type="text/css"> </style> </head> <body> <h1>International Travel Planning Tips</h1> <p>Being ...

Get Cascading Style Sheets (CSS) by Example 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.