Web::DOM::HTMLAnchorElement
DOM HTMLAnchorElement object
DESCRIPTION
The Web::DOM::HTMLAnchorElement class implements the DOM HTMLAnchorElement interface.
The class is used by the HTML a element.
METHODS
In addition to the methods available for classes Web::DOM::Element and Web::DOM::HTMLElement, following methods are available:
$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->hreflang$el->hreflang ($string)-
Return or set the
hreflangattribute. [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->text$el->text ($string)-
Return or set the text content of the element. [HTML]
$string = $el->type$el->type ($string)-
Return or set the
typeattribute. [HTML]
Following obsolete methods are also available: coords,
charset,
name,
rev,
and shape. [HTML]
SPECIFICATION
- HTML
-
HTML Standard
<https://www.whatwg.org/specs/web-apps/current-work/#the-a-element>.
SEE ALSO
Web::DOM::HTMLElement, Web::DOM::HTMLLinkElement, Web::DOM::HTMLAreaElement.
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.