.\" This man page is automatically generated using .\" kayadoc2man from the Kaya development tools and the -xmldocs compile .\" option. Editing it directly is not encouraged. .\" It is under the same license as the source .k file that it was .\" generated from. .TH "HTMLDocument.new" "3kaya" "August 2014" "Kaya" "Kaya module reference" .SH "NAME" HTMLDocument::new \- A new empty HTML document .SH "SYNOPSIS" .B HTMLDocument new( \fIDoctype doctype, String title\fP .B ")" .SH "ARGUMENTS" .PP .B "doctype" The document type declaration to use. HTML4Strict is recommended for now due to browser support issues. .PP .B "title" The title for the entire document. .SH "DESCRIPTION" .PP 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 \fBbody \fP field. .IP "" -4 doc = HTMLDocument::new(HTML4Strict,"Hello World!"); .SH "AUTHORS" Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/ .SH 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. .SH "RELATED" .PD 0 .PP .B "HTMLDocument.Doctype"(3kaya) .PP .B "HTMLDocument.HTMLDocument"(3kaya) .PD 0.4v