39 lines
1.0 KiB
HTML
39 lines
1.0 KiB
HTML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!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>A Demonstration of the Box Model</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
<style type='text/css'>
|
|
body, h1, p {
|
|
border:solid 2px #000000;
|
|
padding: 4px;
|
|
margin: 4px;
|
|
font-family:verdana;}
|
|
|
|
b, em {
|
|
border:solid 2px #FFAA88;
|
|
padding:3px;
|
|
margin:20px;}
|
|
</style>
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<h1>Box Model Demonstration</h1>
|
|
<p>each element is treated as if it lives in its own box.<br><br>
|
|
A baby is born with a need to be loved - and never outgrows it.<br><br>
|
|
|
|
Frank Howard Clark
|
|
|
|
</p>
|
|
<p>Every element has a border around it, and some boxes can contain other boxes. <br><br>
|
|
In real love you want the other person's good.<br>
|
|
In romantic love, you want the other person.<br><br>
|
|
|
|
Margaret Anderson
|
|
|
|
</p>
|
|
</body>
|
|
</html> |