Web::DOM::HTMLLinkElement
DOM HTMLLinkElement object
DESCRIPTION
The Web::DOM::HTMLLinkElement class implements the DOM HTMLLinkElement interface.
The class is used by the HTML link element.
METHODS
In addition to the methods for classes Web::DOM::EventTarget, Web::DOM::Node, Web::DOM::ParentNode, Web::DOM::Element, and Web::DOM::HTMLElement, the following methods are available:
$string = $el->as$el->as ($string)-
Get or set the
asattribute value. [HTML] $string = $el->crossorigin$el->crossorigin ($string)-
Get or set the
crossoriginattribute value. [HTML] $string = $el->href$el->href ($string)-
Get or set the
hrefattribute value. [HTML] $string = $el->hreflang$el->hreflang ($string)-
Get or set the
hreflangattribute value. [HTML] $string = $el->integrity$el->integrity ($string)-
Get or set the
integrityattribute value. [HTML] $string = $el->media$el->media ($string)-
Get or set the
mediaattribute value. [HTML] $string = $el->nonce$el->nonce ($string)-
Get or set the
nonceattribute value. [HTML] $string = $el->rel$el->rel ($string)$el->rel_list ($string)-
Get or set the
relattribute value. [HTML] $tokens = $el->rel_list-
Return the Web::DOM::TokenList object for the
relattribute. [HTML] $el->sizes ($string)-
Set the
sizesattribute value. [HTML] $tokens = $el->sizes-
Return the Web::DOM::TokenList object for the
sizesattribute. [HTML] $string = $el->type$el->type ($string)-
Get or set the
typeattribute value. [HTML]
Additionally,
the following obsolete methods are available: charset,
rev,
and target. [HTML]
SPECIFICATION
- HTML
-
HTML Standard
<https://html.spec.whatwg.org/>.
SEE ALSO
AUTHOR
Wakaba <wakaba@suikawiki.org>.
LICENSE
Copyright 2013-2017 Wakaba <wakaba@suikawiki.org>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.