public static class Html4.IMG extends HtmlElement implements Html4.Element<Html4.IMG>
<img>
.Modifier and Type | Field and Description |
---|---|
static HtmlElementType |
TYPE
HtmlElementType for
<img> (void=true, block=false, pre=false). |
Constructor and Description |
---|
IMG() |
Instance Methods | |
---|---|
HtmlElementType |
getElementType()
Get the metadata of this element.
|
Html4.IMG |
alt(CharSequence value)
Set attribute
alt="{value}" . |
Html4.IMG |
height(int value)
Set attribute
height="{value}" . |
Html4.IMG |
height(CharSequence value)
Set attribute
height="{value}" . |
Html4.IMG |
ismap(boolean value)
Set boolean attribute
ismap . |
Html4.IMG |
longdesc(CharSequence value)
Set attribute
longdesc="{value}" . |
Html4.IMG |
src(CharSequence value)
Set attribute
src="{value}" . |
Html4.IMG |
usemap(CharSequence value)
Set attribute
usemap="{value}" . |
Html4.IMG |
width(int value)
Set attribute
width="{value}" . |
Html4.IMG |
width(CharSequence value)
Set attribute
width="{value}" . |
getAttribute, getAttributeCount, getAttributeMap, isBlock, render, setAttribute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
attr, attr, attr, attr, class_, class_add, dir, getAttribute, id, lang, on, setAttribute, style, title
public static final HtmlElementType TYPE
<img>
(void=true, block=false, pre=false).public HtmlElementType getElementType()
HtmlElement
HtmlElementType
.getElementType
in class HtmlElement
public Html4.IMG alt(CharSequence value)
alt="{value}"
.public Html4.IMG height(int value)
height="{value}"
.public Html4.IMG height(CharSequence value)
height="{value}"
.public Html4.IMG ismap(boolean value)
ismap
.public Html4.IMG longdesc(CharSequence value)
longdesc="{value}"
.public Html4.IMG src(CharSequence value)
src="{value}"
.public Html4.IMG usemap(CharSequence value)
usemap="{value}"
.public Html4.IMG width(int value)
width="{value}"
.public Html4.IMG width(CharSequence value)
width="{value}"
.