1998-04-13 20:24:54 +00:00
|
|
|
<html>
|
1998-04-15 19:23:17 +00:00
|
|
|
<head>
|
|
|
|
<title>Example 1</title>
|
|
|
|
<style>
|
|
|
|
H1{ color: rgb(128,0,128) }
|
|
|
|
PRE { background-color: rgb(200,200,200) }
|
|
|
|
B {
|
|
|
|
background-color: rgb(128, 128, 255);
|
|
|
|
font-size: large;
|
|
|
|
}
|
|
|
|
I {
|
|
|
|
font-size: larger;
|
|
|
|
}
|
|
|
|
B I {
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
|
|
|
LI B {
|
|
|
|
font-size: .25in;
|
|
|
|
}
|
|
|
|
UL LI {
|
|
|
|
color: green;
|
|
|
|
list-style: square outside url(resource:/res/gear1.gif); //none;
|
|
|
|
}
|
|
|
|
UL UL LI {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
H4 {
|
|
|
|
color: yelow;
|
|
|
|
background-image: url(gear1.gif);
|
|
|
|
background-repeat: repeat;
|
|
|
|
font-size: 150%;
|
|
|
|
}
|
|
|
|
</style>
|
1999-02-19 00:54:27 +00:00
|
|
|
<meta name="crc" content=48969488>
|
1998-04-15 19:23:17 +00:00
|
|
|
|
|
|
|
</head>
|
|
|
|
|
1998-09-03 05:07:16 +00:00
|
|
|
<body bgcolor="#FFFFFF" text="#000000">
|
1998-04-15 19:23:17 +00:00
|
|
|
<h1>Example 1: CSS HTML Text Styles</h1>
|
|
|
|
<p><br></p>
|
|
|
|
<p>Note -- This document contains the following CSS declarations:</p>
|
|
|
|
<pre>H1 { color: rgb(128,0,128) }
|
|
|
|
PRE { background-color: rgb(200,200,200); }
|
|
|
|
B { background-color: rgb(128, 128, 255);
|
|
|
|
font-size: large; }
|
|
|
|
I { font-size: larger; }
|
|
|
|
B I { font-size: smaller; }
|
|
|
|
LI B { font-size: .25in; }
|
|
|
|
UL LI { color: green;
|
|
|
|
list-style: square outside url(resource:/res/gear1.gif);
|
|
|
|
//none; }
|
|
|
|
UL UL LI { color: red; }
|
|
|
|
H4 { color: yellow;
|
|
|
|
background-image: url(gear1.gif);
|
|
|
|
background-repeat: repeat;
|
|
|
|
font-size: 150%; }
|
|
|
|
</pre>
|
|
|
|
<p><br></p>
|
|
|
|
<p>Here is an example of <b>bold</b>, <i>italic</i> and <b><i>bold-italic</i></b></p>
|
|
|
|
<p><br></p>
|
1998-05-19 00:08:57 +00:00
|
|
|
<p>Some links to test pseudo-classes</p>
|
|
|
|
<p><a href="http://link">link</a></p>
|
|
|
|
<p><a href="http://visited">visited</a></p>
|
|
|
|
<p><a href="http://out-of-date">outofdate</a></p>
|
|
|
|
<p><a href="http://active">active</a></p>
|
|
|
|
<p><a href="http://hover">hover</a></p>
|
1998-04-15 19:23:17 +00:00
|
|
|
<h2>Bulleted List </h2>
|
|
|
|
<ul>
|
|
|
|
<li>One</li>
|
|
|
|
<li>Two
|
|
|
|
<ul>
|
|
|
|
<li>Apples</li>
|
|
|
|
<li>Oranges</li>
|
|
|
|
<li>Bananas</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li>Three <b>Bold Text</b></li>
|
|
|
|
</ul>
|
|
|
|
<p><br></p>
|
|
|
|
<h4>H3 -- A headline style, with a background image repeated and a font size increase
|
|
|
|
by 150%. H3 -- A headline style, with a background image repeated and a font
|
|
|
|
size increase by 150%. H3 -- A headline style, with a background image repeated
|
|
|
|
and a font size increase by 150%. </h4>
|
1998-04-13 20:24:54 +00:00
|
|
|
</body>
|
|
|
|
</html>
|