1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210
|
<html>
<head>
<title>Example 0</title>
<style>
a#id.foo:visited:first-line { color: red; }
a#id.foo:first-line { color: red; }
a#id.foo:visited { color: red; }
a#id:first-line { color: red; }
a#id:visited { color: red; }
a:first-line { color: red; }
a:visited { color: red; }
a:visited:first-line { color: red; }
a:visited:visited { color: red; }
a:first-line:visited { color: red; }
:first-letter { color: green; }
#line:first-line { font-size: 200%; letter-spacing: -.25em; }
#letter:first-letter { font-size: 48pt; font-weight: bold; float: left; }
</style>
<meta name="crc" content=3268488385">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<!-- GOOFY Comment tests... -->
<!-- xx -- yy -- zz -->
<!-- also interesting --!>
<!--------------------->
<!-- ####################################################################
# #
# * Here's another interesting comment problem we encountered #
# this came from mozilla.org of all places! "!-- * --" #
####################################################################
-->
<h1>Example 0: Basic HTML Text Styles</h1>
<P><br></p>
<h2>Formatted Text</h2>
<p>
This is a basic paragraph with <b>bold</b>, <i>italic</i> and
<i><b>bold</b></i><b><i>-italic </i></b>
text. It also includes <font color="#FF0000">red</font>,
<font color="#00FF00">green</font>
and <font color="#0000FF">blue</font> text.
It has <s>strikethru</s> and <u>underline</u>.
<u> </u>
</p>
<p>
Text decoration color test:
<span style="color: red">
red
<span style="text-decoration: underline">
underline
<span style="color: cyan">
cyan
<span style="text-decoration: line-through">
line-through
<span style="color: blue">
blue
<span style="text-decoration: overline">
overline
<span style="color: black">
black
</span>
overline
</span>
blue
</span>
line-through
</span>
cyan
</span>
underline
</span>
red
</span>
</p>
<p>This is a paragraph with font variations: <b><font face="Arial, Helvetica, sans-serif">Bold Arial,</font></b><font face="Arial, Helvetica, sans-serif">
<i><font face="Verdana, Arial, Helvetica, sans-serif">Italic Verdana</font>,</i> <font face="courier">COURIER,
<font face="Times New Roman, Times, serif">Times New Roman.</font></font></font></p>
<p><font size=7>Font size=7, </font><font size=6>Font size=6, </font><font size=5>Font
size=5, </font><font size=4>Font size=4, </font><font size=3>Font size=3, </font><font size=2>Font
size=2, </font><font size=1>Font size=1, </font><font point-size=24 font-weight=700>Font
point-size=24 font-weight=700</font><BR>
<SPAN style="font-family: Verdana Bold, Times; font-weight: bold; font-size: 18pt; font-variant: small-caps;">This Text Is Small-caps</SPAN>
</P>
<h2>Text styles</h2>
<P>
<SPAN style="text-transform: capitalize;">
this text was capitalized å è
</SPAN>
<BR>
<SPAN style="text-transform: lowercase;">
THIS TEXT WAS LOWERCASED Å È
</SPAN>
<BR>
<SPAN style="text-transform: uppercase;">
this text was uppercased å è
</SPAN>
<BR>
<SPAN style="letter-spacing: 2em;">
Letter spacing set to 2em's.
</SPAN>
<BR>
<SPAN style="word-spacing: 2em;">
Word spacing set to 2em's.
</SPAN>
<BR>
<SPAN style="text-transform: capitalize; letter-spacing: 1em; word-spacing: 5em; font-variant: small-caps;">
this text is capitalized small-caps with letter spacing set to 1em and
the word spacing set to 5em's. enjoy!
</SPAN>
</P>
<H2>Pseudo-element tests</H2>
<P ID=line>
This paragraph demonstrates the :first-line pseudo
element. The first line of text should use a font twice the size and
have the letter spacing set so that the text is jammed together in an
unpleasant fashion.
</P>
<P ID=letter>
First letter style is really cool. The facility is very powerful because it
takes an innocuous looking content model and spices it up dramatically while
allowing a backwards compatible answer for older browsers.
</P>
<h2><br>
</h2>
<h2>Listings</h2>
<h3>Bulleted List </h3>
<ul>
<li>One</li>
<li>Two
<ul>
<li>Apples</li>
<li>Oranges</li>
<li>Bananas</li>
</ul>
</li>
<li>Three</li>
</ul>
<br>
<h3>Numbered List </h3>
<ol>
<li>One</li>
<li>Two
<ol>
<li>Apples</li>
<li>Oranges</li>
<li>Bananas</li>
</ol>
</li>
<li>Three</li>
</ol>
<h2>Justified Text</h2>
<p align=left>
This paragraph is aligned <b>left</b>.
This paragraph is aligned <b>left</b>.
This paragraph is aligned <b>left</b>.
This paragraph is aligned <b>left</b>.
This paragraph is aligned <b>left</b>.
This paragraph is aligned <b>left</b>.
This paragraph is aligned <b>left</b>.
</p>
<p align=center>
This paragraph is aligned <b>center</b>.
This paragraph is aligned <b>center</b>.
This paragraph is aligned <b>center</b>.
This paragraph is aligned <b>center</b>.
This paragraph is aligned <b>center</b>.
This paragraph is aligned <b>center</b>.
This paragraph is aligned <b>center</b>.
</p>
<p align=right>
This paragraph is aligned <b>right</b>.
This paragraph is aligned <b>right</b>.
This paragraph is aligned <b>right</b>.
This paragraph is aligned <b>right</b>.
This paragraph is aligned <b>right</b>.
This paragraph is aligned <b>right</b>.
This paragraph is aligned <b>right</b>.
</p>
<p align=justify>
This paragraph is <B>justified</B>.
This paragraph is <B>justified</B>.
This paragraph is <B>justified</B>.
This paragraph is <B>justified</B>.
This paragraph is <B>justified</B>.
This paragraph is <B>justified</B>.
This paragraph is <B>justified</B>.
</p>
</body>
</html>
|