public static class Html4.SCRIPT extends HtmlParentElement implements Html4.ParentElement<Html4.SCRIPT>
<script>
.Modifier and Type | Field and Description |
---|---|
static HtmlElementType |
TYPE
HtmlElementType for
<script> (void=false, block=true, pre=true). |
Constructor and Description |
---|
SCRIPT() |
Instance Methods | |
---|---|
HtmlElementType |
getElementType()
Get the metadata of this element.
|
Html4.SCRIPT |
charset(CharSequence value)
Set attribute
charset="{value}" . |
Html4.SCRIPT |
defer(boolean value)
Set boolean attribute
defer . |
Html4.SCRIPT |
src(CharSequence value)
Set attribute
src="{value}" . |
Html4.SCRIPT |
type(CharSequence value)
Set attribute
type="{value}" . |
addChild, addChild, addChildren, detachChildren, getChild, getChildCount, removeChild, render, setChild
getAttribute, getAttributeCount, getAttributeMap, isBlock, setAttribute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, add
attr, attr, attr, attr, class_, class_add, dir, getAttribute, id, lang, on, setAttribute, style, title
addChild, addChild, addChildren, detachChildren, getChild, getChildCount, getChildList, removeChild, render, setChild
public static final HtmlElementType TYPE
<script>
(void=false, block=true, pre=true).public HtmlElementType getElementType()
HtmlElement
HtmlElementType
.getElementType
in class HtmlElement
public Html4.SCRIPT charset(CharSequence value)
charset="{value}"
.public Html4.SCRIPT defer(boolean value)
defer
.public Html4.SCRIPT src(CharSequence value)
src="{value}"
.public Html4.SCRIPT type(CharSequence value)
type="{value}"
.