Datasheet
12
Part I: Getting to Know (X)HTML and CSS
Markup lives in a text file (with your content) to give orders to a browser. For
example, look at the page shown in Figure 1-2. You can see how the page is
made up and how it is formatted by examining its underlying HTML.
Figure 1-2: To achieve its present good looks, this Web page incorporates multiple parts and
numerous bits of HTML and CSS markup.
This page includes an image, a heading that describes the page, several para-
graphs of text about one of your authors, and an address block with links to a
résumé and a list of publications.
However, different components of the page use different formatting:
✓ The heading at the top of the page is larger than text in the paragraphs.
✓ Blocks of text are separated by more blank space than between contigu-
ous lines of text within blocks.
✓ Some text is in white, some orange, and some light blue.
06_9780470916599-ch01.indd 1206_9780470916599-ch01.indd 12 11/30/10 12:23 AM11/30/10 12:23 AM