<h1>Overskrift</h1>
<font size=18pt color=red>Overskrift</font>
h1 { font-size: 16pt; color: red; text-align: center; }
GIF, PNG | private XML vocabulary |
XSL-FO | HTML | MathML | ||
---|---|---|---|---|---|---|
application- specific semantics? |
no | no | no | no | no | yes |
device-independent? | no | no | no | no | yes | yes |
roles known? | no | no | no | no | yes | yes |
text in logical order? | unknown | unknown | no | yes | yes | yes |
reflow possible? | no | unknown | no | yes | yes | yes |
scalable? | no | unknown | yes | yes | yes | yes |
text machine-readable? | no | yes | yes | yes | yes | yes |
text human-readable? | yes | yes | yes | yes | yes | yes |
<body> <h1>Overskrift</h1> </body>
a syntax | h1 { font-size: 12px } |
selectors | h1 { font-size: 12px } |
properties | h1 { font-size: 12px } |
values and units | h1 { font-size: 12px } |
a value propagation system | body { font-size: 12px } |
a formatting model | Overskrift |
1987-1997 | FOSI |
1986-1996 | DSSSL |
1994 | P94 |
1993 | Robert Raisch's proposal |
1993 | Pei Wei's proposal |
1993 | Steve Heaney's proposal |
1994 | Cascading HTML Style Sheets |
1994 | Joe English's proposal |
1994 | Sketch of Simple Formatting Primitives |
1994 | DSSSL Lite |
1995 | Stream-based style sheet proposal |
1996 | PSL96 |
h1 { font-size: 20pt } |
<e-i-c gi="h1"> <charlist> <font inherit="1" size="20pt"> </charlist> </e-i-c> |
(element h1 (make paragraph font-size: 20pt)) |
h1: Size: 20 pt; |
The hypothesis is that the web calls for different style sheet languages than does traditional electronic publishing.
web characteristic | corresponding requirements |
---|---|
later binding | stream-based style sheets |
screen-centric publishing | screen-based properties, values and units |
shared author/user influence | negotiation between conflicting stylistic preferences |
multiple outputs | media-specific style sheets |
hyperlinked documents | link styling |
uncertain delivery | robustness |