The manakai project

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 alt attribute. [HTML]

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

Return or set the coords attribute. [HTML]

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

Return or set the download attribute. [HTML]

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

Return or set the href attribute. [HTML]

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

Return or set the ping attribute. [HTML]

$string = $el->rel
$el->rel ($string)
$el->rel_list ($string)

Return or set the rel attribute. [HTML]

$tokens = $el->rel_list

Return the Web::DOM::TokenList object for the rel attribute. [HTML]

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

Return or set the shape attribute. [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

Web::DOM::HTMLElement, Web::DOM::HTMLAnchorElement.

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.