You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
750 B
HTML
30 lines
750 B
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>Class For A Tag With Dot Operator</title>
|
|
<style type="text/css">
|
|
p.normal {
|
|
padding: 2;
|
|
margin-left: 2;
|
|
margin-right: 2;
|
|
}
|
|
p.large {
|
|
margin-left: 25%;
|
|
margin-right: 5%;
|
|
}
|
|
p.medium {
|
|
margin-left: 20%;
|
|
margin-right: 40%;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>Love Sayings</h1>
|
|
|
|
<p class="normal">A woman would run through fire and water for such a kind heart. William Shakespeare</p>
|
|
<p class="large">There is no instinct like that of the heart. Lord Byron</p>
|
|
<p class="medium ">Love that is true never grows old. Elben Bano</p>
|
|
</body>
|
|
</html> |