1HTMLDocument.new(3kaya) Kaya module reference HTMLDocument.new(3kaya)
2
3
4
6 HTMLDocument::new - A new empty HTML document
7
9 HTMLDocument new( Doctype doctype, String title )
10
12 doctype The document type declaration to use. HTML4Strict is recom‐
13 mended for now due to browser support issues.
14
15 title The title for the entire document.
16
18 Generates a skeleton HTML document with the specified Doctype and docu‐
19 ment title. The document title must not be empty. Operations on a HTML
20 document are generally either performed on the document itself, or on
21 its body field.
22
23
24 doc = HTMLDocument::new(HTML4Strict,"Hello World!");
25
27 Kaya standard library by Edwin Brady, Chris Morris and others
28 (kaya@kayalang.org). For further information see http://kayalang.org/
29
31 The Kaya standard library is free software; you can redistribute it
32 and/or modify it under the terms of the GNU Lesser General Public
33 License (version 2.1 or any later version) as published by the Free
34 Software Foundation.
35
37 HTMLDocument.Doctype (3kaya)
38 HTMLDocument.HTMLDocument (3kaya)
39
40
41
42Kaya December 2010 HTMLDocument.new(3kaya)