NAME¶
HTMLDocument::new - A new empty HTML document
SYNOPSIS¶
HTMLDocument new( Doctype doctype, String title )
ARGUMENTS¶
doctype The document type declaration to use. HTML4Strict is recommended
for now due to browser support issues.
title The title for the entire document.
DESCRIPTION¶
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!");
AUTHORS¶
Kaya standard library by Edwin Brady, Chris Morris and others
(kaya@kayalang.org). 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.
HTMLDocument.Doctype (3kaya)
HTMLDocument.HTMLDocument (3kaya)