1HTMLDocument.setTitle(3kaya) Kaya module referenceHTMLDocument.setTitle(3kaya)
2
3
4
6 HTMLDocument::setTitle - Sets the title of a HTML element
7
9 Void setTitle( ElementTree element, String title )
10
12 element The HTML element
13
14 title The title to set
15
17 Sets the title of a HTML element. The title can be used to provide
18 optional additional information about an element. Not all browsers will
19 display title information, and the method of display will vary - common
20 graphical browsers tend to display it as a tooltip when someone hovers
21 over the element.
22
23 A common use is providing optional additional information about a link.
24
25
26 url = Hyperlink("http://kayalang.org/library/latest/Prelude/putStr");
27 link = appendInlineElement(paragraph,url,"putStr");
28 setTitle(link,"API documentation for Prelude::putStr");
29
31 Kaya standard library by Edwin Brady, Chris Morris and others
32 (kaya@kayalang.org). For further information see http://kayalang.org/
33
35 The Kaya standard library is free software; you can redistribute it
36 and/or modify it under the terms of the GNU Lesser General Public
37 License (version 2.1 or any later version) as published by the Free
38 Software Foundation.
39
41 HTMLDocument.setAttribute (3kaya)
42 HTMLDocument.setClass (3kaya)
43 HTMLDocument.setID (3kaya)
44
45
46
47Kaya December 2010 HTMLDocument.setTitle(3kaya)