Container

HTML is organised like Russian dolls

Each element is container for other elements

The <body> element is the parent of both the <h1> element and the two <p>

Most styles attributed to one element are inherited by its enclosed elements

It is possible to use the imbrication pattern to describe some complex selectors (p then p for instance)

<html>
<head>

<title>Untitled Document</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>

<body>

<h1>Test</h1>

<p>
Paragraph
</p>

<p>Another paragraph</p>

</body>
</html>