HTML::DOM::Element::Title - A Perl class for representing 'title' elements in an
HTML DOM tree
use HTML::DOM;
$doc = HTML::DOM->new;
$elem = $doc->createElement('title');
$elem->text('The Perl Directory'); # set title
$elem->text; # get title
$elem->tagName;
# etc
This class implements the 'title element in an HTML::DOM tree. It implements the
HTMLTitleElement DOM interface and inherits from HTML::DOM::Element (q.v.).
The only method that this class implements itself and does not inherit is:
- text
- Returns (and optionally sets) the text of the title.
HTML::DOM
HTML::DOM::Element