The manakai project

Web::DOM::HTMLLabelElement

The DOM HTMLLabelElement label

DESCRIPTION

The Web::DOM::HTMLLabelElement class implements the DOM HTMLLabelElement interface. The class is used by the HTML label element.

METHODS

In addition to the methods available for classes Web::DOM::Element and Web::DOM::HTMLElement, the following methods are available:

$el2 = $el->control

Return the labeled control of the element, if any, or undef. [HTML]

$string = $el->html_for
$el->html_for ($string)

Return or set the for attribute. [HTML]

SPECIFICATION

HTML

HTML Standard <http://www.whatwg.org/specs/web-apps/current-work/#the-label-element>.

SEE ALSO

Web::DOM::HTMLElement.

AUTHOR

Wakaba <wakaba@suikawiki.org>.

LICENSE

Copyright 2013 Wakaba <wakaba@suikawiki.org>.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.