HTML and CSS Reference
In-Depth Information
stract indented and in an italic typeface (such as div.abstract {left-
margin: +0.5in; font-style: italic} ); the body in a left-justified roman
typeface; the conclusion similar to the abstract; and the bibliography
automatically numbered and formatted appropriately.
We provide a detailed description of stylesheets, classes, and their ap-
plications in Chapter 8 .
4.1.1. The <div> Tag
As defined in the HTML 4.01 and XHTML 1.0 and 1.1 standards, a <div>
tag divides your document into separate, distinct sections. It may be
used strictly as an organizational tool, without any sort of formatting
associated with it, but it becomes more effective if you add the id and
class attributes to label the divisions. The <div> tag also may be com-
bined with the align attribute to control the alignment of whole sections
of your document's content in the display and with the many program-
matic "on event" attributes for user interaction.
Search WWH ::

Custom Search