HTMLDocument::addDivision(3) Add a generic block

SYNOPSIS

ElementTree addDivision( ElementTree parent, String initialtext=createString(0), String cssclass=createString(0) )

ARGUMENTS

parent The parent element

initialtext Optionally, initial text content for the element.

cssclass Optionally, the CSS class to apply to the division

DESCRIPTION

Add a generic block to the end of the specified element. Unlike paragraphs, lists, etc. this block has no defined semantics, and so is useful for grouping and styling purposes.

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.