# Fenced divs
This section describes the syntax to generate HTML `div` elements. The
syntax is known as a _fenced div_.
# Basic syntax
A fenced div has the following basic syntax:
To start a fenced div, begin a line with at least three colons (`:::`),
followed by at least one space, followed by any word. Content may follow
immediately on the next line. Terminate the fenced div with at least
three colons. The terminating colons needn't match in number to the starting
colons, but it's a good idea to maintain symmetry.
The HTML that is generated from the above fenced div will resemble:
# Extended syntax
A fenced div may use an extended syntax. The extended syntax can provide
a unique identifier, multiple class names, and key/value data pairs. For
example:
The above snippet produces:
Note that when using the extended syntax, class styles must be prefixed with
a period (e.g., `.stanza` in the example).
# Nested syntax
Fenced divs may be nested, such as in the following example:
The above example produces: