A new empty html document
HTMLDocument new( Doctype doctype, String title )
doctype The document type declaration to use. HTML4Strict is recommended for now due to browser support issues.
title The title for the entire document.
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!");
Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/
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.
HTMLDocument.Doctype (3kaya)
HTMLDocument.HTMLDocument (3kaya)