Package org.apache.juneau.dto.html5
Class HtmlBuilder
java.lang.Object
org.apache.juneau.dto.html5.HtmlBuilder
Various useful static methods for creating HTML elements.
See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final A
a()
Creates an emptyA
element.static final A
static final Abbr
abbr()
Creates an emptyAbbr
element.static final Abbr
Creates anAbbr
element with the specifiedAbbr.title(String)
attribute andAbbr.children(Object[])
nodes.static final Address
address()
Creates an emptyAddress
element.static final Address
Creates anAddress
element with the specified child nodes.static final Area
area()
Creates an emptyArea
element.static final Area
Creates anArea
element with the specifiedArea.shape(String)
,Area.coords(String)
, andArea.href(Object)
attributes.static final Article
article()
Creates an emptyArticle
element.static final Article
Creates anArticle
element with the specified child nodes.static final Aside
aside()
Creates an emptyAside
element.static final Aside
Creates anAside
element with the specified child nodes.static final Audio
audio()
Creates an emptyAudio
element.static final Audio
Creates anAudio
element with the specifiedAudio.src(Object)
attribute.static final B
b()
Creates an emptyB
element.static final B
Creates aB
element with the specified child nodes.static final Base
base()
Creates an emptyBase
element.static final Base
Creates aBase
element with the specifiedBase.href(Object)
attribute.static final Bdi
bdi()
Creates an emptyBdi
element.static final Bdi
Creates aBdi
element with the specifiedBdi.text(Object)
node.static final Bdo
bdo()
Creates an emptyBdo
element.static final Bdo
Creates aBdo
element with the specifiedBdo.dir(String)
attribute and child nodes.static final Blockquote
Creates an emptyBlockquote
element.static final Blockquote
blockquote
(Object... children) Creates aBlockquote
element with the specified child nodes.static final Body
body()
Creates an emptyBody
element.static final Body
Creates aBody
element with the specified child nodes.static final Br
br()
Creates an emptyBr
element.static final Button
button()
Creates an emptyButton
element.static final Button
Creates aButton
element with the specifiedButton.type(String)
attribute.static final Button
Creates aButton
element with the specifiedButton.type(String)
attribute andButton.children(Object[])
nodes.static final Canvas
canvas()
Creates an emptyCanvas
element.static final Canvas
Creates aCanvas
element with the specifiedCanvas.width(Object)
andCanvas.height(Object)
attributes.static final Caption
caption()
Creates an emptyCaption
element.static final Caption
Creates aCaption
element with the specified child nodes.static final Cite
cite()
Creates an emptyCite
element.static final Cite
Creates aCite
element with the specified child nodes.static final Code
code()
Creates an emptyCode
element.static final Code
Creates aCode
element with the specified child nodes.static final Col
col()
Creates an emptyCol
element.static final Col
Creates aCol
element with the specifiedCol.span(Object)
attribute.static final Colgroup
colgroup()
Creates an emptyColgroup
element.static final Colgroup
Creates aColgroup
element with the specified child nodes.static final Data
data()
Creates an emptyData
element.static final Data
Creates aData
element with the specifiedData.value(Object)
attribute and child node.static final Datalist
datalist()
Creates an emptyDatalist
element.static final Datalist
Creates aDatalist
element with the specifiedDatalist.id(String)
attribute and child nodes.static final Dd
dd()
Creates an emptyDd
element.static final Dd
Creates aDd
element with the specified child nodes.static final Del
del()
Creates an emptyDel
element.static final Del
Creates aDel
element with the specifiedDel.children(Object[])
node.static final Dfn
dfn()
Creates an emptyDfn
element.static final Dfn
Creates aDfn
element with the specified child nodes.static final Div
div()
Creates an emptyDiv
element.static final Div
Creates aDiv
element with the specified child nodes.static final Dl
dl()
Creates an emptyDl
element.static final Dl
Creates aDl
element with the specified child nodes.static final Dt
dt()
Creates an emptyDt
element.static final Dt
Creates aDt
element with the specified child nodes.static final Em
em()
Creates an emptyEm
element.static final Em
Creates anEm
element with the specifiedEm.children(Object[])
nodes.static final Embed
embed()
Creates an emptyEmbed
element.static final Embed
Creates anEmbed
element with the specifiedEmbed.src(Object)
attribute.static final Fieldset
fieldset()
Creates an emptyFieldset
element.static final Fieldset
Creates aFieldset
element with the specified child nodes.static final Figcaption
Creates an emptyFigcaption
element.static final Figcaption
figcaption
(Object... children) Creates aFigcaption
element with the specified child nodes.static final Figure
figure()
Creates an emptyFigure
element.static final Figure
Creates aFigure
element with the specified child nodes.static final Footer
footer()
Creates an emptyFooter
element.static final Footer
Creates aFooter
element with the specified child nodes.static final Form
form()
Creates an emptyForm
element.static final Form
Creates aForm
element with the specifiedForm.action(String)
attribute.static final Form
Creates anForm
element with the specifiedForm.action(String)
attribute and child nodes.static final H1
h1()
Creates an emptyH1
element.static final H1
Creates anH1
element with the specified child nodes.static final H2
h2()
Creates an emptyH2
element.static final H2
Creates anH2
element with the specified child nodes.static final H3
h3()
Creates an emptyH3
element.static final H3
Creates anH3
element with the specified child nodes.static final H4
h4()
Creates an emptyH4
element.static final H4
Creates anH4
element with the specified child nodes.static final H5
h5()
Creates an emptyH5
element.static final H5
Creates anH5
element with the specified child nodes.static final H6
h6()
Creates an emptyH6
element.static final H6
Creates anH6
element with the specified child nodes.static final Head
head()
Creates an emptyHead
element.static final Head
Creates aHead
element with the specified child nodes.static final Header
header()
Creates an emptyHeader
element.static final Header
Creates aHeader
element with the specified child nodes.static final Hr
hr()
Creates an emptyHr
element.static final Html
html()
Creates an emptyHtml
element.static final Html
Creates anHtml
element with the specified child nodes.static final I
i()
Creates an emptyI
element.static final I
Creates anI
element with the specified child nodes.static final Iframe
iframe()
Creates an emptyIframe
element.static final Iframe
Creates anIframe
element with the specified child nodes.static final Img
img()
Creates an emptyImg
element.static final Img
Creates anImg
element with the specifiedImg.src(Object)
attribute.static final Input
input()
Creates an emptyInput
element.static final Input
Creates anInput
element with the specifiedInput.type(String)
attribute.static final Ins
ins()
Creates an emptyIns
element.static final Ins
Creates anIns
element with the specified child nodes.static final Kbd
kbd()
Creates an emptyKbd
element.static final Kbd
Creates aKbd
element with the specified child nodes.static final Keygen
keygen()
Creates an emptyKeygen
element.static final Label
label()
Creates an emptyLabel
element.static final Label
Creates aLabel
element with the specified child nodes.static final Legend
legend()
Creates an emptyLegend
element.static final Legend
Creates aLegend
element with the specified child nodes.static final Li
li()
Creates an emptyLi
element.static final Li
Creates anLi
element with the specified child nodes.static final Link
link()
Creates an emptyLink
element.static final Link
Creates aLink
element with the specifiedLink.href(Object)
attribute.static final Main
main()
Creates an emptyMain
element.static final Main
Creates aMain
element with the specified child nodes.static final Map
map()
Creates an emptyMap
element.static final Map
Creates aMap
element with the specified child nodes.static final Mark
mark()
Creates an emptyMark
element.static final Mark
Creates aMark
element with the specified child nodes.static final Meta
meta()
Creates an emptyMeta
element.static final Meter
meter()
Creates an emptyMeter
element.static final Meter
Creates aMeter
element with the specified child nodes.static final Nav
nav()
Creates an emptyNav
element.static final Nav
Creates aNav
element with the specified child nodes.static final Noscript
noscript()
Creates an emptyNoscript
element.static final Noscript
Creates aNoscript
element with the specified child nodes.static final Object_
object()
Creates an emptyObject_
element.static final Object_
Creates anObject_
element with the specified child nodes.static final Ol
ol()
Creates an emptyOl
element.static final Ol
Creates anOl
element with the specified child nodes.static final Optgroup
optgroup()
Creates an emptyOptgroup
element.static final Optgroup
Creates anOptgroup
element with the specified child nodes.static final Option
option()
Creates an emptyOption
element.static final Option
Creates anOption
element with the specifiedOption.text(Object)
attribute.static final Option
Creates anOption
element with the specifiedOption.value(Object)
attribute andOption.text(Object)
node.static final Output
output()
Creates an emptyOutput
element.static final Output
Creates anOutput
element with the specifiedOutput.name(String)
attribute.static final P
p()
Creates an emptyP
element.static final P
Creates aP
element with the specified child nodes.static final Param
param()
Creates an emptyParam
element.static final Param
static final Pre
pre()
Creates an emptyPre
element.static final Pre
Creates aPre
element with the specified child nodes.static final Progress
progress()
Creates an emptyProgress
element.static final Progress
Creates aProgress
element with the specified child nodes.static final Q
q()
Creates an emptyQ
element.static final Q
Creates aQ
element with the specified child nodes.static final Rb
rb()
Creates an emptyRb
element.static final Rb
Creates aRb
element with the specifiedRb.children(Object[])
nodes.static final Rp
rp()
Creates an emptyRp
element.static final Rp
Creates aRp
element with the specifiedRp.children(Object[])
nodes.static final Rt
rt()
Creates an emptyRt
element.static final Rt
Creates aRt
element with the specifiedRt.children(Object[])
nodes.static final Rtc
rtc()
Creates an emptyRtc
element.static final Rtc
Creates anRtc
element with the specified child nodes.static final Ruby
ruby()
Creates an emptyRuby
element.static final Ruby
Creates aRuby
element with the specified child nodes.static final S
s()
Creates an emptyS
element.static final S
Creates anS
element with the specified child nodes.static final Samp
samp()
Creates an emptySamp
element.static final Samp
Creates aSamp
element with the specified child nodes.static final Script
script()
Creates an emptyScript
element.static final Script
Creates aScript
element with the specifiedScript.type(String)
attribute andScript.text(Object)
node.static final Section
section()
Creates an emptySection
element.static final Section
Creates aSection
element with the specified child nodes.static final Select
select()
Creates an emptySelect
element.static final Select
Creates aSelect
element with the specifiedSelect.name(String)
attribute and child nodes.static final Small
small()
Creates an emptySmall
element.static final Small
Creates aSmall
element with the specified child nodes.static final Source
source()
Creates an emptySource
element.static final Source
static final Span
span()
Creates an emptySpan
element.static final Span
Creates aSpan
element with the specified child nodes.static final Strong
strong()
Creates an emptyStrong
element.static final Strong
Creates aStrong
element with the specified child nodes.static final Style
style()
Creates an emptyStyle
element.static final Style
Creates aStyle
element with the specifiedStyle.text(Object)
node.static final Style
Creates aStyle
element with the specified inner text.static final Sub
sub()
Creates an emptySub
element.static final Sub
Creates aSub
element with the specified child nodes.static final Sup
sup()
Creates an emptySup
element.static final Sup
Creates aSup
element with the specified child nodes.static final Table
table()
Creates an emptyTable
element.static final Table
Creates aTable
element with the specified child nodes.static final Tbody
tbody()
Creates an emptyTbody
element.static final Tbody
Creates aTbody
element with the specified child nodes.static final Td
td()
Creates an emptyTd
element.static final Td
Creates aTd
element with the specified child nodes.static final Template
template()
Creates an emptyTemplate
element.static final Template
Creates aTemplate
element with the specifiedTemplate.id(String)
attribute and child nodes.static final Textarea
textarea()
Creates an emptyTextarea
element.static final Textarea
Creates aTextarea
element with the specifiedTextarea.name(String)
attribute andTextarea.text(Object)
node.static final Tfoot
tfoot()
Creates an emptyTfoot
element.static final Tfoot
Creates aTfoot
element with the specified child nodes.static final Th
th()
Creates an emptyTh
element.static final Th
Creates aTh
element with the specified child nodes.static final Thead
thead()
Creates an emptyThead
element.static final Thead
Creates aThead
element with the specified child nodes.static final Time
time()
Creates an emptyTime
element.static final Time
Creates aTime
element with the specifiedTime.children(Object[])
nodes.static final Title
title()
Creates an emptyTitle
element.static final Title
Creates aTitle
element with the specifiedTitle.text(Object)
node.static final Tr
tr()
Creates an emptyTr
element.static final Tr
Creates aTr
element with the specified child nodes.static final Track
track()
Creates an emptyTrack
element.static final Track
static final U
u()
Creates an emptyU
element.static final U
Creates aU
element with the specified child nodes.static final Ul
ul()
Creates an emptyUl
element.static final Ul
Creates aUl
element with the specified child nodes.static final Var
var()
Creates an emptyVar
element.static final Var
Creates aVar
element with the specified child nodes.static final Video
video()
Creates an emptyVideo
element.static final Video
Creates aVideo
element with the specifiedVideo.src(Object)
attribute.static final Wbr
wbr()
Creates an emptyWbr
element.
-
Constructor Details
-
HtmlBuilder
public HtmlBuilder()
-
-
Method Details
-
a
Creates an emptyA
element.- Returns:
- The new element.
-
a
- Parameters:
href
- TheA.href(Object)
attribute.children
- TheA.children(Object[])
nodes.- Returns:
- The new element.
-
abbr
Creates an emptyAbbr
element.- Returns:
- The new element.
-
abbr
Creates anAbbr
element with the specifiedAbbr.title(String)
attribute andAbbr.children(Object[])
nodes.- Parameters:
title
- TheAbbr.title(String)
attribute.children
- TheAbbr.children(Object[])
nodes.- Returns:
- The new element.
-
address
Creates an emptyAddress
element.- Returns:
- The new element.
-
address
Creates anAddress
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
area
Creates an emptyArea
element.- Returns:
- The new element.
-
area
Creates anArea
element with the specifiedArea.shape(String)
,Area.coords(String)
, andArea.href(Object)
attributes.- Parameters:
shape
- TheArea.shape(String)
attribute.coords
- TheArea.coords(String)
attribute.href
- TheArea.href(Object)
attribute.- Returns:
- The new element.
-
article
Creates an emptyArticle
element.- Returns:
- The new element.
-
article
Creates anArticle
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
aside
Creates an emptyAside
element.- Returns:
- The new element.
-
aside
Creates anAside
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
audio
Creates an emptyAudio
element.- Returns:
- The new element.
-
audio
Creates anAudio
element with the specifiedAudio.src(Object)
attribute.- Parameters:
src
- TheAudio.src(Object)
attribute.- Returns:
- The new element.
-
b
Creates an emptyB
element.- Returns:
- The new element.
-
b
Creates aB
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
base
Creates an emptyBase
element.- Returns:
- The new element.
-
base
Creates aBase
element with the specifiedBase.href(Object)
attribute.- Parameters:
href
- TheBase.href(Object)
attribute.- Returns:
- The new element.
-
bdi
Creates an emptyBdi
element.- Returns:
- The new element.
-
bdi
Creates aBdi
element with the specifiedBdi.text(Object)
node.- Parameters:
text
- TheBdi.text(Object)
node.- Returns:
- The new element.
-
bdo
Creates an emptyBdo
element.- Returns:
- The new element.
-
bdo
Creates aBdo
element with the specifiedBdo.dir(String)
attribute and child nodes.- Parameters:
dir
- TheBdo.dir(String)
attribute.children
- The child nodes.- Returns:
- The new element.
-
blockquote
Creates an emptyBlockquote
element.- Returns:
- The new element.
-
blockquote
Creates aBlockquote
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
body
Creates an emptyBody
element.- Returns:
- The new element.
-
body
Creates aBody
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
br
Creates an emptyBr
element.- Returns:
- The new element.
-
button
Creates an emptyButton
element.- Returns:
- The new element.
-
button
Creates aButton
element with the specifiedButton.type(String)
attribute.- Parameters:
type
- TheButton.type(String)
attribute.- Returns:
- The new element.
-
button
Creates aButton
element with the specifiedButton.type(String)
attribute andButton.children(Object[])
nodes.- Parameters:
type
- TheButton.type(String)
attribute.children
- TheButton.children(Object[])
nodes.- Returns:
- The new element.
-
canvas
Creates an emptyCanvas
element.- Returns:
- The new element.
-
canvas
Creates aCanvas
element with the specifiedCanvas.width(Object)
andCanvas.height(Object)
attributes.- Parameters:
width
- TheCanvas.width(Object)
attribute.height
- TheCanvas.height(Object)
attribute.- Returns:
- The new element.
-
cite
Creates an emptyCite
element.- Returns:
- The new element.
-
cite
Creates aCite
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
code
Creates an emptyCode
element.- Returns:
- The new element.
-
code
Creates aCode
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
col
Creates an emptyCol
element.- Returns:
- The new element.
-
col
Creates aCol
element with the specifiedCol.span(Object)
attribute.- Parameters:
span
- TheCol.span(Object)
attribute.- Returns:
- The new element.
-
colgroup
Creates an emptyColgroup
element.- Returns:
- The new element.
-
colgroup
Creates aColgroup
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
data
Creates an emptyData
element.- Returns:
- The new element.
-
data
Creates aData
element with the specifiedData.value(Object)
attribute and child node.- Parameters:
value
- TheData.value(Object)
attribute.child
- The child node.- Returns:
- The new element.
-
datalist
Creates an emptyDatalist
element.- Returns:
- The new element.
-
datalist
Creates aDatalist
element with the specifiedDatalist.id(String)
attribute and child nodes.- Parameters:
id
- TheDatalist.id(String)
attribute.children
- The child nodes.- Returns:
- The new element.
-
dd
Creates an emptyDd
element.- Returns:
- The new element.
-
dd
Creates aDd
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
del
Creates an emptyDel
element.- Returns:
- The new element.
-
del
Creates aDel
element with the specifiedDel.children(Object[])
node.- Parameters:
children
- TheDel.children(Object[])
node.- Returns:
- The new element.
-
dfn
Creates an emptyDfn
element.- Returns:
- The new element.
-
dfn
Creates aDfn
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
div
Creates an emptyDiv
element.- Returns:
- The new element.
-
div
Creates aDiv
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
dl
Creates an emptyDl
element.- Returns:
- The new element.
-
dl
Creates aDl
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
dt
Creates an emptyDt
element.- Returns:
- The new element.
-
dt
Creates aDt
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
em
Creates an emptyEm
element.- Returns:
- The new element.
-
em
Creates anEm
element with the specifiedEm.children(Object[])
nodes.- Parameters:
children
- TheEm.children(Object[])
nodes.- Returns:
- The new element.
-
embed
Creates an emptyEmbed
element.- Returns:
- The new element.
-
embed
Creates anEmbed
element with the specifiedEmbed.src(Object)
attribute.- Parameters:
src
- TheEmbed.src(Object)
attribute.- Returns:
- The new element.
-
fieldset
Creates an emptyFieldset
element.- Returns:
- The new element.
-
fieldset
Creates aFieldset
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
figure
Creates an emptyFigure
element.- Returns:
- The new element.
-
figure
Creates aFigure
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
form
Creates an emptyForm
element.- Returns:
- The new element.
-
form
Creates aForm
element with the specifiedForm.action(String)
attribute.- Parameters:
action
- TheForm.action(String)
attribute.- Returns:
- The new element.
-
form
Creates anForm
element with the specifiedForm.action(String)
attribute and child nodes.- Parameters:
action
- TheForm.action(String)
attribute.children
- The child nodes.- Returns:
- The new element.
-
h1
Creates an emptyH1
element.- Returns:
- The new element.
-
h1
Creates anH1
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
h2
Creates an emptyH2
element.- Returns:
- The new element.
-
h2
Creates anH2
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
h3
Creates an emptyH3
element.- Returns:
- The new element.
-
h3
Creates anH3
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
h4
Creates an emptyH4
element.- Returns:
- The new element.
-
h4
Creates anH4
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
h5
Creates an emptyH5
element.- Returns:
- The new element.
-
h5
Creates anH5
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
h6
Creates an emptyH6
element.- Returns:
- The new element.
-
h6
Creates anH6
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
head
Creates an emptyHead
element.- Returns:
- The new element.
-
head
Creates aHead
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
header
Creates an emptyHeader
element.- Returns:
- The new element.
-
header
Creates aHeader
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
hr
Creates an emptyHr
element.- Returns:
- The new element.
-
html
Creates an emptyHtml
element.- Returns:
- The new element.
-
html
Creates anHtml
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
i
Creates an emptyI
element.- Returns:
- The new element.
-
i
Creates anI
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
iframe
Creates an emptyIframe
element.- Returns:
- The new element.
-
iframe
Creates anIframe
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
img
Creates an emptyImg
element.- Returns:
- The new element.
-
img
Creates anImg
element with the specifiedImg.src(Object)
attribute.- Parameters:
src
- TheImg.src(Object)
attribute.- Returns:
- The new element.
-
input
Creates an emptyInput
element.- Returns:
- The new element.
-
input
Creates anInput
element with the specifiedInput.type(String)
attribute.- Parameters:
type
- TheInput.type(String)
attribute.- Returns:
- The new element.
-
ins
Creates an emptyIns
element.- Returns:
- The new element.
-
ins
Creates anIns
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
kbd
Creates an emptyKbd
element.- Returns:
- The new element.
-
kbd
Creates aKbd
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
keygen
Creates an emptyKeygen
element.- Returns:
- The new element.
-
label
Creates an emptyLabel
element.- Returns:
- The new element.
-
label
Creates aLabel
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
legend
Creates an emptyLegend
element.- Returns:
- The new element.
-
legend
Creates aLegend
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
li
Creates an emptyLi
element.- Returns:
- The new element.
-
li
Creates anLi
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
link
Creates an emptyLink
element.- Returns:
- The new element.
-
link
Creates aLink
element with the specifiedLink.href(Object)
attribute.- Parameters:
href
- TheLink.href(Object)
attribute.- Returns:
- The new element.
-
main
Creates an emptyMain
element.- Returns:
- The new element.
-
main
Creates aMain
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
map
Creates an emptyMap
element.- Returns:
- The new element.
-
map
Creates aMap
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
mark
Creates an emptyMark
element.- Returns:
- The new element.
-
mark
Creates aMark
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
meta
Creates an emptyMeta
element.- Returns:
- The new element.
-
meter
Creates an emptyMeter
element.- Returns:
- The new element.
-
meter
Creates aMeter
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
noscript
Creates an emptyNoscript
element.- Returns:
- The new element.
-
noscript
Creates aNoscript
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
object
Creates an emptyObject_
element.- Returns:
- The new element.
-
object
Creates anObject_
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
ol
Creates an emptyOl
element.- Returns:
- The new element.
-
ol
Creates anOl
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
optgroup
Creates an emptyOptgroup
element.- Returns:
- The new element.
-
optgroup
Creates anOptgroup
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
option
Creates an emptyOption
element.- Returns:
- The new element.
-
option
Creates anOption
element with the specifiedOption.text(Object)
attribute.- Parameters:
text
- TheOption.text(Object)
attribute.- Returns:
- The new element.
-
option
Creates anOption
element with the specifiedOption.value(Object)
attribute andOption.text(Object)
node.- Parameters:
value
- TheOption.value(Object)
attribute.text
- TheOption.text(Object)
node.- Returns:
- The new element.
-
output
Creates an emptyOutput
element.- Returns:
- The new element.
-
output
Creates anOutput
element with the specifiedOutput.name(String)
attribute.- Parameters:
name
- TheOutput.name(String)
attribute.- Returns:
- The new element.
-
p
Creates an emptyP
element.- Returns:
- The new element.
-
p
Creates aP
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
param
Creates an emptyParam
element.- Returns:
- The new element.
-
param
- Parameters:
name
- TheParam.name(String)
attribute.value
- TheParam.value(Object)
attribute.- Returns:
- The new element.
-
pre
Creates an emptyPre
element.- Returns:
- The new element.
-
pre
Creates aPre
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
progress
Creates an emptyProgress
element.- Returns:
- The new element.
-
progress
Creates aProgress
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
q
Creates an emptyQ
element.- Returns:
- The new element.
-
q
Creates aQ
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
rb
Creates an emptyRb
element.- Returns:
- The new element.
-
rb
Creates aRb
element with the specifiedRb.children(Object[])
nodes.- Parameters:
children
- TheRb.children(Object[])
nodes.- Returns:
- The new element.
-
rp
Creates an emptyRp
element.- Returns:
- The new element.
-
rp
Creates aRp
element with the specifiedRp.children(Object[])
nodes.- Parameters:
children
- TheRp.children(Object[])
nodes.- Returns:
- The new element.
-
rt
Creates an emptyRt
element.- Returns:
- The new element.
-
rt
Creates aRt
element with the specifiedRt.children(Object[])
nodes.- Parameters:
children
- TheRt.children(Object[])
nodes.- Returns:
- The new element.
-
rtc
Creates an emptyRtc
element.- Returns:
- The new element.
-
rtc
Creates anRtc
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
ruby
Creates an emptyRuby
element.- Returns:
- The new element.
-
ruby
Creates aRuby
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
s
Creates an emptyS
element.- Returns:
- The new element.
-
s
Creates anS
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
samp
Creates an emptySamp
element.- Returns:
- The new element.
-
samp
Creates aSamp
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
script
Creates an emptyScript
element.- Returns:
- The new element.
-
script
Creates aScript
element with the specifiedScript.type(String)
attribute andScript.text(Object)
node.- Parameters:
type
- TheScript.type(String)
attribute.text
- The child text node.- Returns:
- The new element.
-
section
Creates an emptySection
element.- Returns:
- The new element.
-
section
Creates aSection
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
select
Creates an emptySelect
element.- Returns:
- The new element.
-
select
Creates aSelect
element with the specifiedSelect.name(String)
attribute and child nodes.- Parameters:
name
- TheSelect.name(String)
attribute.children
- The child nodes.- Returns:
- The new element.
-
small
Creates an emptySmall
element.- Returns:
- The new element.
-
small
Creates aSmall
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
source
Creates an emptySource
element.- Returns:
- The new element.
-
source
- Parameters:
src
- TheSource.src(Object)
attribute.type
- TheSource.type(String)
attribute.- Returns:
- The new element.
-
span
Creates an emptySpan
element.- Returns:
- The new element.
-
span
Creates aSpan
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
strong
Creates an emptyStrong
element.- Returns:
- The new element.
-
strong
Creates aStrong
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
style
Creates an emptyStyle
element.- Returns:
- The new element.
-
style
Creates aStyle
element with the specifiedStyle.text(Object)
node.- Parameters:
text
- TheStyle.text(Object)
node.- Returns:
- The new element.
-
style
Creates aStyle
element with the specified inner text.- Parameters:
text
- The contents of the style element.
Values will be concatenated with newlines.- Returns:
- The new element.
-
sub
Creates an emptySub
element.- Returns:
- The new element.
-
sub
Creates aSub
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
sup
Creates an emptySup
element.- Returns:
- The new element.
-
sup
Creates aSup
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
table
Creates an emptyTable
element.- Returns:
- The new element.
-
table
Creates aTable
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
tbody
Creates an emptyTbody
element.- Returns:
- The new element.
-
tbody
Creates aTbody
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
td
Creates an emptyTd
element.- Returns:
- The new element.
-
td
Creates aTd
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
template
Creates an emptyTemplate
element.- Returns:
- The new element.
-
template
Creates aTemplate
element with the specifiedTemplate.id(String)
attribute and child nodes.- Parameters:
id
- TheTemplate.id(String)
attribute.children
- The child nodes.- Returns:
- The new element.
-
textarea
Creates an emptyTextarea
element.- Returns:
- The new element.
-
textarea
Creates aTextarea
element with the specifiedTextarea.name(String)
attribute andTextarea.text(Object)
node.- Parameters:
name
- TheTextarea.name(String)
attribute.text
- TheTextarea.text(Object)
node.- Returns:
- The new element.
-
tfoot
Creates an emptyTfoot
element.- Returns:
- The new element.
-
tfoot
Creates aTfoot
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
th
Creates an emptyTh
element.- Returns:
- The new element.
-
th
Creates aTh
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
thead
Creates an emptyThead
element.- Returns:
- The new element.
-
thead
Creates aThead
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
time
Creates an emptyTime
element.- Returns:
- The new element.
-
time
Creates aTime
element with the specifiedTime.children(Object[])
nodes.- Parameters:
children
- TheTime.children(Object[])
nodes.- Returns:
- The new element.
-
title
Creates an emptyTitle
element.- Returns:
- The new element.
-
title
Creates aTitle
element with the specifiedTitle.text(Object)
node.- Parameters:
text
- TheTitle.text(Object)
node.- Returns:
- The new element.
-
tr
Creates an emptyTr
element.- Returns:
- The new element.
-
tr
Creates aTr
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
track
Creates an emptyTrack
element.- Returns:
- The new element.
-
track
- Parameters:
src
- TheTrack.src(Object)
attribute.kind
- TheTrack.kind(String)
attribute.- Returns:
- The new element.
-
u
Creates an emptyU
element.- Returns:
- The new element.
-
u
Creates aU
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
ul
Creates an emptyUl
element.- Returns:
- The new element.
-
ul
Creates aUl
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
var
Creates an emptyVar
element.- Returns:
- The new element.
-
var
Creates aVar
element with the specified child nodes.- Parameters:
children
- The child nodes.- Returns:
- The new element.
-
video
Creates an emptyVideo
element.- Returns:
- The new element.
-
video
Creates aVideo
element with the specifiedVideo.src(Object)
attribute.- Parameters:
src
- TheVideo.src(Object)
attribute.- Returns:
- The new element.
-
wbr
Creates an emptyWbr
element.- Returns:
- The new element.
-