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


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

the HTML::DOM manpage

the HTML::DOM::Element manpage