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

Download:
HTML-DOM-0.054.tar.gz

Annotate this POD

CPAN RT

Open  0
Stalled  1
View/Report Bugs
Source  

NAME ^

HTML::DOM::Element::HTML - A Perl class for representing <html> elements in an HTML DOM tree

SYNOPSIS ^

  use HTML::DOM;
  $doc = HTML::DOM->new;
  $elem = $doc->createElement('html');

  $elem->version('-//IETF//DTD HTML 2.0//EN'); # set attribute
  $elem->version;                              # get attribute
  $elem->tagName;
  # etc

DESCRIPTION ^

This class implements the <html> element in an HTML::DOM tree. It implements the HTMLHtmlElement 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:

version

Returns (and optionally sets) the version attribute.

SEE ALSO ^

HTML::DOM

HTML::DOM::Element

syntax highlighting: