Father Chrysostomos > HTML-DOM-0.053 > HTML::DOM::Element::Title

Download:
HTML-DOM-0.053.tar.gz

Annotate this POD

CPAN RT

Open  0
Stalled  1
View/Report Bugs
Source  

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 HTML::DOM::Element (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 ^

HTML::DOM

HTML::DOM::Element

syntax highlighting: