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

Download:
HTML-DOM-0.053.tar.gz

Annotate this POD

CPAN RT

Open  0
Stalled  1
View/Report Bugs
Source  

NAME ^

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

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

syntax highlighting: