<?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 <div> Element</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type='text/css'>
body {
font-family:arial, verdana, sans-serif;
font-size:14px;
background-color:#d6d6d6;}
div.page {
border:solid 1px #000000;
background-color:#ffffff;
margin:30px;
padding:15px;}
div.background {
padding:20px;
font-style:italic;
font-size:smaller;}
</style>
</head>
<body>
<div class="page">
<h1>Grouping Elements Using the <div> Element</h1>
<p>The first <div> element is used to create the effect of a page border around the content of the page.</p>
<div class="background">
<h2>Heading 2</h2>
<p>You can nest <div> elements inside each other.</p>
</div>
</div>
</body>
</html>