The <div> element is a block-level element often used as a container for other HTML elements. It has no required attributes, but style, class and id are common.
When used together with CSS, the <div> element can be used to style blocks of content.
Edit the code below and click Run to see the result live.