Provided by: kaya_0.4.4-6ubuntu3_amd64 bug

NAME

       HTMLDocument::setTitle - Sets the title of a HTML element

SYNOPSIS

       Void setTitle( ElementTree element, String title )

ARGUMENTS

       element The HTML element

       title The title to set

DESCRIPTION

       Sets  the  title  of  a HTML element. The title can be used to provide optional additional
       information about an element. Not all browsers will display  title  information,  and  the
       method  of  display  will vary - common graphical browsers tend to display it as a tooltip
       when someone hovers over the element.

       A common use is providing optional additional information about a link.

    url = Hyperlink("http://kayalang.org/library/latest/Prelude/putStr");
    link = appendInlineElement(paragraph,url,"putStr");
    setTitle(link,"API documentation for Prelude::putStr");

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.

RELATED

       HTMLDocument.setAttribute (3kaya)
       HTMLDocument.setClass (3kaya)
       HTMLDocument.setID (3kaya)