div

Support

Defines a block of HTML content.

The div (division) tag is one of the most useful HTML elements. With this tag you can create a generic block-level element as a container of other elements. It is useful to create a well designed HTML page.

Example

<head>
<style>
.example {
overflow: auto;
background-color: #FF0000;
width: 200px;
height: 150px;
}
</style>
</head>
<body>
<div class="example">
<p>Content goes here.</p>
</div>
</body>