Element create(Element host, String id)

Creates a new div with the given id on the host and returns the Element

Source

Element create(Element host, String id)
{
    host.appendHtml("<div id='${id}'>");
    return get(id);
}