1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
5 display/box/float/clear test
7 <style type=
"text/css">
8 /* last modified: 1 Dec 98 */
11 font: 10px/1 Verdana
, sans-serif
;
12 background-color: blue
;
18 border: .5em solid black
;
21 background-color: white
;
31 background-color: rgb
(204,0,0);
34 width: 10.638%; /* refers to parent element's width of 47em. = 5em or 50px */
36 border: .5em solid black
;
43 border: 1em solid black
;
56 display: block
; /* i.e., suppress marker */
61 border: .5em solid black
;
64 background-color: #FC0;
68 background-color: black
;
70 width: 41.17%; /* = 14em */
81 background-color: black
;
99 margin: 1em 1em 1em 2em;
100 border-width: 1em 1.5em 2em .5em;
107 background-color: #FC0;
116 background-color: black
;
143 <form action=
"./" method=
"get">
146 <input type=
"radio" name=
"foo" value=
"off">
150 <input type=
"radio" name=
"foo2" value=
"on">
167 sing to me, erbarme dich
171 <p style=
"color: black; font-size: 1em; line-height: 1.3em; clear: both">
172 This is a nonsensical document, but syntactically valid HTML
4.0. All
100%-conformant CSS1 agents should be able to render the document elements above this paragraph indistinguishably (to the pixel) from this
173 <a href=
"sec5526c.gif">reference rendering,
</a>
174 (except font rasterization and form widgets). All discrepancies should be traceable to CSS1 implementation shortcomings. Once you have finished evaluating this test, you can return to the
<A HREF=
"sec5526c.htm">parent page
</A>.