public static class Html5.IMG extends Html4.IMG implements Html5.Element<Html5.IMG,Html4.IMG>
<img>
.Constructor and Description |
---|
IMG() |
Instance Methods | |
---|---|
Html5.IMG |
alt(CharSequence value)
Set attribute
alt="{value}" . |
Html5.IMG |
crossorigin(CharSequence value)
Set attribute
crossorigin="{value}" . |
Html5.IMG |
height(int value)
Set attribute
height="{value}" . |
Html5.IMG |
height(CharSequence value)
Deprecated.
This attribute can only be `int` in html5; use method height(int) instead.
|
Html5.IMG |
ismap(boolean value)
Set boolean attribute
ismap . |
Html5.IMG |
src(CharSequence value)
Set attribute
src="{value}" . |
Html5.IMG |
usemap(CharSequence value)
Set attribute
usemap="{value}" . |
Html5.IMG |
width(int value)
Set attribute
width="{value}" . |
Html5.IMG |
width(CharSequence value)
Deprecated.
This attribute can only be `int` in html5; use method width(int) instead.
|
Html5.IMG |
longdesc(CharSequence value)
Deprecated.
This attribute is deprecated in html5.
|
getElementType
getAttribute, getAttributeCount, getAttributeMap, isBlock, render, setAttribute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accesskey, attr, attr, attr, class_, class_add, contenteditable, contextmenu, data, dir, draggable, dropzone, hidden, id, inert, itemid, itemprop, itemref, itemscope, itemtype, lang, on, spellcheck, style, tabindex, title, translate
attr, getAttribute, setAttribute
public Html5.IMG alt(CharSequence value)
alt="{value}"
.public Html5.IMG crossorigin(CharSequence value)
crossorigin="{value}"
.public Html5.IMG height(int value)
height="{value}"
.public Html5.IMG height(CharSequence value)
height="{value}"
.public Html5.IMG ismap(boolean value)
ismap
.public Html5.IMG src(CharSequence value)
src="{value}"
.public Html5.IMG usemap(CharSequence value)
usemap="{value}"
.public Html5.IMG width(int value)
width="{value}"
.public Html5.IMG width(CharSequence value)
width="{value}"
.public Html5.IMG longdesc(CharSequence value)
longdesc="{value}"
.