Kaya 0.5.3 reference for HTMLDocument::new

List of functions and data types in HTMLDocument

HTMLDocument new(Doctype doctype, String title, Bool useajax=false)

Arguments

Usage

Generates a skeleton HTML document with the specified Doctype and document title. The document title must not be empty. Operations on a HTML document are generally either performed on the document itself, or on its body field.

doc = HTMLDocument::new(HTML4Strict,"Hello World!");

Related

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