dtd">
Block and inline XHTML elementsHere's a level 1 heading
Here's a level 2 heading
This paragraph is very short and contains very little
text.
This paragraph is longer and contains not only
bold text but also a link
that doesn't really link to anything.
FIGURE 1. 3 Example of the
document ?¬‚ ow of block and inline
elements.
This example also illustrates XHTML??™s default document ?¬‚ ow, which
refers to the way the browser lays out block and inline elements.
Document ?¬‚ ow ensures meaningful layout of correctly marked-up
content that has no author styling associated with it. As you will see
later, there are all kinds of ways to use CSS to reorganize the default
STYLIN??™ WITH CSS - CHAPTER 1 20
document ?¬‚ ow into a variety of layouts??”multiple columns, for
example??”without having to pollute the markup with presentational
tags and attributes.
THE BROWSER??™S INTERNAL STYLE SHEET
One interesting thing to note here is that each element by default has
certain styles associated with it. As the screenshot shows, h1 headings
are already styled to be larger type than h2 headings, and paragraph
text is styled to be smaller than both of them.
Pages:
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50