HTML::DOM::Element::HTML - A Perl class for representing <html> elements
in an HTML DOM tree
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
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 only method that this class implements itself and does not inherit is:
- version
- Returns (and optionally sets) the
"version" attribute.
HTML::DOM
HTML::DOM::Element