Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
<style>
div {
background-color: #87f5b3
}
</style>
</head>
<body>
<h1>Example</h1>
<div>
<h2>A heading in a &lt;div&gt; tag.</h2>
<p>Some text in a &lt;div&gt; tag.</p>
</div>
<p>Here is some other text in a &lt;p&gt; tag.</p>
</body>
</html>