There are two kind of elements in HTML.
Element Types | Description |
---|
Block level elements | Rendered starting on a new line (e.g. <p> or <hr> ) |
In-line elements | Rendered on same line (e.g. <b> or <q> ) |
The HTML
<div>
element is the most generic block-level element. This tag is used for defining a section of your document and also we can group large sections of HTML elements together. This element is best to attach a CSS to a section of a web page.
<div align="center" title="This is a tooltip">
This is a division block.