Web::DOM::HTMLAreaElement
DOM HTMLAreaElement object
DESCRIPTION
The Web::DOM::HTMLAreaElement class implements the DOM HTMLAreaElement interface.
The class is used by the HTML area element.
METHODS
In addition to the methods available for classes Web::DOM::Element and Web::DOM::HTMLElement, following methods are available:
$string = $el->alt$el->alt ($string)-
Return or set the
altattribute. [HTML] $string = $el->coords$el->coords ($string)-
Return or set the
coordsattribute. [HTML] $string = $el->download$el->download ($string)-
Return or set the
downloadattribute. [HTML] $string = $el->href$el->href ($string)-
Return or set the
hrefattribute. [HTML] $string = $el->ping$el->ping ($string)-
Return or set the
pingattribute. [HTML] $string = $el->rel$el->rel ($string)$el->rel_list ($string)-
Return or set the
relattribute. [HTML] $tokens = $el->rel_list-
Return the Web::DOM::TokenList object for the
relattribute. [HTML] $string = $el->shape$el->shape ($string)-
Return or set the
shapeattribute. [HTML]
The obsolete nohref method is also available. [HTML]
Methods hreflang and type are removed as they are removed from the HTML Standard and are not seemed to be used at all.
SPECIFICATION
- HTML
-
HTML Standard
<https://www.whatwg.org/specs/web-apps/current-work/#the-a-element>.
SEE ALSO
AUTHOR
Wakaba <wakaba@suikawiki.org>.
LICENSE
Copyright 2013-2016 Wakaba <wakaba@suikawiki.org>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.