35 lines
1.6 KiB
HTML
35 lines
1.6 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>Combine Style Together</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
<style type="text/css">
|
|
.copytext1, .copytext2 {
|
|
font-family: Verdana, Arial, Helvetica;
|
|
font-weight: normal;
|
|
font-size: 13px;
|
|
}
|
|
.color1 {color:orange}
|
|
.color2 {color:pink}
|
|
.color3 {color:yellow}
|
|
.color4 {color:green}
|
|
.color5 {color:blue}
|
|
.copytext2 {font-weight:bold;}
|
|
|
|
p {margin:10px 0;}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>Multiple Classes Sample</h1>
|
|
<p class="copytext1 color1">There is no instinct like that of the heart. Lord Byron - orange</p>
|
|
<p class="copytext2 color1">There is no instinct like that of the heart. Lord Byron - bold orange</p>
|
|
<p class="copytext1 color2">There is no instinct like that of the heart. Lord Byron - pink</p>
|
|
<p class="copytext2 color2">There is no instinct like that of the heart. Lord Byron - bold pink</p>
|
|
<p class="copytext1 color3">There is no instinct like that of the heart. Lord Byron - yellow</p>
|
|
<p class="copytext2 color3">There is no instinct like that of the heart. Lord Byron - bold yellow</p>
|
|
<p class="copytext1 color4">There is no instinct like that of the heart. Lord Byron - green</p>
|
|
<p class="copytext2 color4">There is no instinct like that of the heart. Lord Byron - bold green</p>
|
|
<p class="copytext1 color5">There is no instinct like that of the heart. Lord Byron - blue</p>
|
|
<p class="copytext2 color5">There is no instinct like that of the heart. Lord Byron - bold blue</p>
|
|
</body>
|
|
</html> |