Kaya 0.5.3 reference for HTMLDocument::addHeading

List of functions and data types in HTMLDocument

ElementTree addHeading(ElementTree parent, Int headinglevel, String initialtext=createString(0))

Arguments

Usage

Add a heading to the end of the specified element. Heading levels go from 1 to 6, and form a document outline - there should generally be one level 1 heading in the document, with level 2 headings below that, level 3 headings below the level 2 headings, and so on. In practice, headings less important than level 4 are very rarely used.

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya