This is normal text using the browser defaults.
This block uses the global style rule for the div element. Such a global style might
be set so that normal paragraphs can be formatted nicely using one style rule. Note
that CSS does a nice job of fully justifying the text on both margins. Using
attribute based formatting with HTML to the same thing (align="justify") is far more
unreliable.
This is another paragraph which gets the global div styles. You can see that the div
element has caused a line break, which is the only formatting the HTML processor
applies to div blocks. The style engine does all the rest.
Note:
A note class can be defined to emphasize special notes, much like the ones we use in
this book. The note class overrides the font-size, font-family, and text-indent
properties set by the global rule for the div element. Also, a note block is given a
background-color, some padding between the text and block "walls," and indentations
on either side.