Stylesheet Language

Pei Y. Wei (
Fri, 22 Oct 93 14:03:11 -0700

* <P> inside of <HEAD> and <BODY> gets fontSize of "normal".
* <P> inside of <ADDRESS> gets italic slant font.
* <P> inside of <FOOTNOTE> gets a "small" font.
* List items in first, second, and third levels are numbered differently.
* Since <BOLD> and <STRONG> look the same, they are succintly lumpped

Note that properties are inherited down the tree, unless overridden.
So, the color information that is specifed at the top is used all over,
except for <H1> which redefines its own colors.

Having this inheritance behaviour also helps to keep the description
short, as lots of information can be derived by the context in the
tree structure.

The lone "(P)"s are there to engage the respective <P> tags to be in
those particular contexts.

A document uses a <LINK REL="STYLE" HREF="URL_to_a_stylesheet">
to associate to a stylesheet. It's an open question as to whether
we should allow multiple stylesheets in a document, and where
this link can be specified (once only, in the <HEAD>?).

-Pei Pei Y. Wei
O'Reilly & Associates