HTML::DOM::Element::Title - A Perl class for representing 'title' elements in an HTML DOM tree


NAME

HTML::DOM::Element::Title - A Perl class for representing 'title' elements in an HTML DOM tree


SYNOPSIS

  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


DESCRIPTION

This class implements the 'title element in an HTML::DOM tree. It implements the HTMLTitleElement DOM interface and inherits from the HTML::DOM::Element manpage (q.v.).


THE METHOD

The only method that this class implements itself and does not inherit is:

text

Returns (and optionally sets) the text of the title.


SEE ALSO

the HTML::DOM manpage

the HTML::DOM::Element manpage