NAME

HTML::DOM::Element::Label - A Perl class for representing 'label' elements in an HTML DOM tree

VERSION

Version 0.054

SYNOPSIS

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

$elem->accessKey('A') # set attribute
$elem->htmlFor;       # get attribute
$elem->tagName;
# etc.

DESCRIPTION

This class implements 'label' elements in an HTML::DOM tree. It implements the HTMLLabelElement DOM interface and inherits from HTML::DOM::Element (q.v.).

METHODS

In addition to those inherited from HTML::DOM::Element and its superclasses, this class implements the following DOM methods (see the DOM spec. for descriptions):

form
accessKey
htmlFor

SEE ALSO

HTML::DOM

HTML::DOM::Element

HTML::DOM::Element::Form