Using the Example HTML File

The example you use in this chapter is for a fictional computer consulting firm, Cramer Computer Consultants. The example HTML file, cramer-consult.html, should already be available, if you downloaded and extracted the example files to your working folder. You can also type in the example file, if you wish (see Figure 13.1):

Listing 13.1. CRAMER-CONSULT.HTML—Cramer Computer Consultants
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Cramer Computer Consultants</title> <style type="text/css"> body { color: black; background: #fc9; font-family: Arial, sans-serif; } p { margin-left: 2em; margin-right: 2em; } h1 { color: #fc0; background: #306; ...

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.