Web::DOM::HTMLImageElement
DOM HTMLImageElement object
DESCRIPTION
The Web::DOM::HTMLImageElement class implements the DOM HTMLImageElement interface.
The class is used by HTML img elements.
METHODS
In addition to the methods available for classes Web::DOM::Element and Web::DOM::HTMLElement, the following methods are available:
$string = $el->alt$el->alt ($string)-
Return or set the
altattribute. [HTML] $string = $el->crossorigin$el->crossorigin ($string)-
Return or set the
crossoriginattribute. [HTML] $string = $el->decoding$el->decoding ($string)-
Return or set the
decodingattribute. [HTML] $boolean = $el->ismap$el->ismap ($boolean)-
Return or set whether the
ismapattribute is specified or not. [HTML] $string = $el->src$el->src ($string)-
Return or set the
srcattribute. [HTML] $string = $el->srcset$el->srcset ($string)-
Return or set the
srcsetattribute. [HTML] $string = $el->usemap$el->usemap ($string)-
Return or set the
usemapattribute. [HTML]
Additionally,
the following obsolete methods are available: align,
border,
hspace,
longdesc,
lowsrc,
name,
and vspace. [HTML]
SPECIFICATION
- HTML
-
HTML Standard
<https://www.whatwg.org/specs/web-apps/current-work/#the-img-element>.
SEE ALSO
AUTHOR
Wakaba <wakaba@suikawiki.org>.
LICENSE
Copyright 2013-2018 Wakaba <wakaba@suikawiki.org>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.