HTML::DOM::Element::Area - A Perl class for representing 'area' elements in an
HTML DOM tree
use HTML::DOM;
$doc = HTML::DOM->new;
$elem = $doc->createElement('area');
$elem->href('about:blank'); # set attribute
$elem->alt; # get attribute
$elem->tagName;
# etc
This class implements 'area' elements in an HTML::DOM tree. It implements the
HTMLAreaElement DOM interface and inherits from HTML::DOM::Element (q.v.).
In addition to those inherited from HTML::DOM::Element and its superclasses,
this class implements the following DOM methods:
- accessKey
- alt
- coords
- href
- noHref
- shape
- tabIndex
- target
Each of these returns the corresponding HTML attribute. If you
pass an argument, it will become the new value of the attribute, and the old
value will be returned.
HTML::DOM
HTML::DOM::Element