HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

div

Description

The div element for HTML represents a generic container for flow content that by itself does not represent anything.

Syntax

HTML

<div attribute-name="attribute-value"></div>

Attributes

Global

CSS

div
{
    display: block;
}

Examples

1 · HTML

2 · CSS

3 · JS