Alahup! Elements > container (div)

tag : div

parents : div, li, img

children : t, div, ul, menu, imgGrp, invisible, mod

The container element is simple and useful.

It lets the author give a meaning to an arbitrary group of elements.

Most of the time, you will want to render it as a <div></div>, thus its tag name.

Example

elements/sets/default/div.tpl :
{if $this.custom.type == "quote"}
<blockquote>{render content=$this}</blockquote>
{else}
<div class="{$this.custom.type}">{render content=$this}</div>
{/if}

Appearance in the editor

a selected container element of type "code"