Name
SPVM::Eg - HTML
Description
The Eg class in SPVM has methods to manipulate Web architecture, such as HTML, CSS, etc.
Usage
use Eg;
# HTML document
# <html><head>...</head><body>...</body></html>
{
my $document = Eg->document(
Eg->html([
Eg->head([
]),
Eg->body([
])
]);
);
}
# <div style="color:red">foo</div>
{
my $div = Eg->div_(
{class => "foo bar", id => "foo", style => {"color" => "red"}},
[Eg->div, Eg->text("foo")],
);
}
# <ul style="color:red"><li>1</li><li>2</li><li>3</li></ul>
{
my $ul = Eg->ul_(
{class => "foo bar", id => "foo", style => {"color" => "red"}},
[
Eg->li([Eg->text("1")]),
Eg->li([Eg->text("2")]),
Eg->li([Eg->text("3")]),
],
);
}
# <table><tr><td>1-1</td><td>1-2</td></tr><tr><td>2-1</td><td>2-2</td></tr></table>
{
my $table = Eg->table_(
{class => "foo bar", id => "foo", style => {"color" => "red"}},
[
Eg->tr([
Eg->td([Eg->text("1-1")]), Eg->td([Eg->text("1-2")])
]),
Eg->tr([
Eg->td([Eg->text("2-1")]), Eg->td([Eg->text("2-2")])
]),
],
);
}
Class Methods
document
static method document : Eg::Node ($root_node : Eg::Node);
text
static method text : Eg::Node ($text : string);
Creates a new text node and returns it.
tag
static method tag : Eg::Node ($tag_name : string, $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a tag given the name $tag_name, the child nodes $child_nodes, and returns it.
a
static method a : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new a
tag given the child nodes $child_nodes, and returns it.
abbr
static method abbr : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new abbr
tag given the child nodes $child_nodes, and returns it.
address
static method address : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new address
tag given the child nodes $child_nodes, and returns it.
area
static method area : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new area
tag given the child nodes $child_nodes, and returns it.
article
static method article : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new article
tag given the child nodes $child_nodes, and returns it.
aside
static method aside : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new aside
tag given the child nodes $child_nodes, and returns it.
audio
static method audio : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new audio
tag given the child nodes $child_nodes, and returns it.
b
static method : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new b
tag given the child nodes $child_nodes, and returns it.
base
static method base : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new base
tag given the child nodes $child_nodes, and returns it.
bdi
static method bdi : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new bdi
tag given the child nodes $child_nodes, and returns it.
bdo
static method bdo : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new bdo
tag given the child nodes $child_nodes, and returns it.
blockquote
static method blockquote : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new blockquote
tag given the child nodes $child_nodes, and returns it.
body
static method body : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new body
tag given the child nodes $child_nodes, and returns it.
br
static method br : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new br
tag given the child nodes $child_nodes, and returns it.
button
static method button : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new tag given the child nodes $child_nodes, and returns it.
canvas
static method canvas : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new canvas
tag given the child nodes $child_nodes, and returns it.
caption
static method caption : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new caption
tag given the child nodes $child_nodes, and returns it.
cite
static method cite : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new cite
tag given the child nodes $child_nodes, and returns it.
code
static method code : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new code
tag given the child nodes $child_nodes, and returns it.
col
static method col : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new col
tag given the child nodes $child_nodes, and returns it.
colgroup
static method colgroup : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new colgroup
tag given the child nodes $child_nodes, and returns it.
command
static method command : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new command
tag given the child nodes $child_nodes, and returns it.
datalist
static method datalist : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new datalist
tag given the child nodes $child_nodes, and returns it.
dd
static method dd : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new dd
tag given the child nodes $child_nodes, and returns it.
del
static method del : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new del
tag given the child nodes $child_nodes, and returns it.
details
static method details : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new details
tag given the child nodes $child_nodes, and returns it.
dfn
static method dfn : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new dfn
tag given the child nodes $child_nodes, and returns it.
dialog
static method dialog : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new dialog
tag given the child nodes $child_nodes, and returns it.
dir
static method dir : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new dir
tag given the child nodes $child_nodes, and returns it.
div
static method div : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new div
tag given the child nodes $child_nodes, and returns it.
dl
static method dl : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new dl
tag given the child nodes $child_nodes, and returns it.
dt
static method dt : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new dt
tag given the child nodes $child_nodes, and returns it.
em
static method em : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new em
tag given the child nodes $child_nodes, and returns it.
embed
static method embed : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new embed
tag given the child nodes $child_nodes, and returns it.
fieldset
static method fieldset : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new fieldset
tag given the child nodes $child_nodes, and returns it.
figcaption
static method figcaption : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new figcaption
tag given the child nodes $child_nodes, and returns it.
figure
static method figure : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new figure
tag given the child nodes $child_nodes, and returns it.
font
static method font : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new font
tag given the child nodes $child_nodes, and returns it.
footer
static method footer : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new footer
tag given the child nodes $child_nodes, and returns it.
form
static method form : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new form
tag given the child nodes $child_nodes, and returns it.
frame
static method frame : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new frame
tag given the child nodes $child_nodes, and returns it.
frameset
static method frameset : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new frameset
tag given the child nodes $child_nodes, and returns it.
h1
static method h1 : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new h1
tag given the child nodes $child_nodes, and returns it.
h2
static method h2 : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new h2
tag given the child nodes $child_nodes, and returns it.
h3
static method h3 : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new h3
tag given the child nodes $child_nodes, and returns it.
h4
static method h4 : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new h4
tag given the child nodes $child_nodes, and returns it.
h5
static method h5 : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new h5
tag given the child nodes $child_nodes, and returns it.
h6
static method h6 : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new h6
tag given the child nodes $child_nodes, and returns it.
head
static method head : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new head
tag given the child nodes $child_nodes, and returns it.
header
static method header : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new header
tag given the child nodes $child_nodes, and returns it.
hgroup
static method hgroup : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new hgroup
tag given the child nodes $child_nodes, and returns it.
hr
static method hr : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new hr
tag given the child nodes $child_nodes, and returns it.
static method html : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new tag given the child nodes $child_nodes, and returns it.
i
static method i : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new i
tag given the child nodes $child_nodes, and returns it.
iframe
static method iframe : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new iframe
tag given the child nodes $child_nodes, and returns it.
img
static method img : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new img
tag given the child nodes $child_nodes, and returns it.
input
static method input : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new input
tag given the child nodes $child_nodes, and returns it.
ins
static method ins : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new ins
tag given the child nodes $child_nodes, and returns it.
kbd
static method kbd : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new kbd
tag given the child nodes $child_nodes, and returns it.
label
static method label : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new label
tag given the child nodes $child_nodes, and returns it.
legend
static method legend : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new legend
tag given the child nodes $child_nodes, and returns it.
li
static method li : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new li
tag given the child nodes $child_nodes, and returns it.
link
static method link : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new link
tag given the child nodes $child_nodes, and returns it.
listing
static method listing : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new listing
tag given the child nodes $child_nodes, and returns it.
main
static method main : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new main
tag given the child nodes $child_nodes, and returns it.
static method map : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new tag given the child nodes $child_nodes, and returns it.
mark
static method mark : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new mark
tag given the child nodes $child_nodes, and returns it.
menu
static method menu : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new menu
tag given the child nodes $child_nodes, and returns it.
meta
static method meta : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new meta
tag given the child nodes $child_nodes, and returns it.
meter
static method meter : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new meter
tag given the child nodes $child_nodes, and returns it.
nav
static method nav : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new nav
tag given the child nodes $child_nodes, and returns it.
noscript
static method noscript : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new noscript
tag given the child nodes $child_nodes, and returns it.
object
static method object : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new object
tag given the child nodes $child_nodes, and returns it.
ol
static method ol : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new ol
tag given the child nodes $child_nodes, and returns it.
optgroup
static method optgroup : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new optgroup
tag given the child nodes $child_nodes, and returns it.
option
static method option : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new option
tag given the child nodes $child_nodes, and returns it.
output
static method output : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new output
tag given the child nodes $child_nodes, and returns it.
p
static method p : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new p
tag given the child nodes $child_nodes, and returns it.
param
static method param : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new param
tag given the child nodes $child_nodes, and returns it.
pre
static method pre : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new pre
tag given the child nodes $child_nodes, and returns it.
progress
static method progress : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new progress
tag given the child nodes $child_nodes, and returns it.
q
static method q : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new q
tag given the child nodes $child_nodes, and returns it.
ruby
static method ruby : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new ruby
tag given the child nodes $child_nodes, and returns it.
rp
static method rp : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new rp
tag given the child nodes $child_nodes, and returns it.
rt
static method rt : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new rt
tag given the child nodes $child_nodes, and returns it.
s
static method s : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new s
tag given the child nodes $child_nodes, and returns it.
samp
static method samp : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new samp
tag given the child nodes $child_nodes, and returns it.
script
static method script : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new script
tag given the child nodes $child_nodes, and returns it.
static method section : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new tag given the child nodes $child_nodes, and returns it.
select
static method select : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new select
tag given the child nodes $child_nodes, and returns it.
small
static method small : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new small
tag given the child nodes $child_nodes, and returns it.
source
static method source : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new source
tag given the child nodes $child_nodes, and returns it.
span
static method span : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new span
tag given the child nodes $child_nodes, and returns it.
strong
static method strong : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new strong
tag given the child nodes $child_nodes, and returns it.
style
static method style : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new style
tag given the child nodes $child_nodes, and returns it.
sub
static method sub : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new sub
tag given the child nodes $child_nodes, and returns it.
summary
static method summary : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new summary
tag given the child nodes $child_nodes, and returns it.
sup
static method sup : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new sup
tag given the child nodes $child_nodes, and returns it.
table
static method table : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new table
tag given the child nodes $child_nodes, and returns it.
tbody
static method tbody : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new tbody
tag given the child nodes $child_nodes, and returns it.
td
static method td : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new td
tag given the child nodes $child_nodes, and returns it.
textarea
static method textarea : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new textarea
tag given the child nodes $child_nodes, and returns it.
tfoot
static method tfoot : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new tfoot
tag given the child nodes $child_nodes, and returns it.
th
static method th : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new th
tag given the child nodes $child_nodes, and returns it.
thead
static method thead : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new thead
tag given the child nodes $child_nodes, and returns it.
time
static method time : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new time
tag given the child nodes $child_nodes, and returns it.
title
static method title : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new title
tag given the child nodes $child_nodes, and returns it.
tr
static method tr : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new tr
tag given the child nodes $child_nodes, and returns it.
tt
static method tt : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new tt
tag given the child nodes $child_nodes, and returns it.
u
static method u : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new u
tag given the child nodes $child_nodes, and returns it.
ul
static method ul : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new ul
tag given the child nodes $child_nodes, and returns it.
var
static method var : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new var
tag given the child nodes $child_nodes, and returns it.
video
static method video : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new video
tag given the child nodes $child_nodes, and returns it.
wbr
static method wbr : Eg::Node ($child_nodes : Eg::Node[] = undef);
Creates a new wbrt
tag given the child nodes $child_nodes, and returns it.
tag_
static method tag_ : Eg::Node ($tag_name : string, $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a tag given the name $tag_name, the attributes $attributes and the child nodes $child_nodes, and returns it.
a_
static method a_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new a
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
abbr_
static method abbr_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new abbr
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
address_
static method address_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new address
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
area_
static method area_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new area
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
article_
static method article_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new article
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
aside_
static method aside_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new aside
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
audio_
static method audio_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new audio
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
b_
static method _ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new b
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
base_
static method base_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new base
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
bdi_
static method bdi_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new bdi
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
bdo_
static method bdo_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new bdo
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
blockquote_
static method blockquote_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new blockquote
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
body_
static method body_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new body
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
br_
static method br_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new br
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
button_
static method button_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
canvas_
static method canvas_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new canvas
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
caption_
static method caption_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new caption
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
cite_
static method cite_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new cite
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
code_
static method code_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new code
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
col_
static method col_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new col
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
colgroup_
static method colgroup_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new colgroup
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
command_
static method command_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new command
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
datalist_
static method datalist_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new datalist
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
dd_
static method dd_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new dd
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
del_
static method del_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new del
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
details_
static method details_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new details
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
dfn_
static method dfn_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new dfn
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
dialog_
static method dialog_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new dialog
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
dir_
static method dir_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new dir
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
div_
static method div_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new div
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
dl_
static method dl_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new dl
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
dt_
static method dt_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new dt
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
em_
static method em_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new em
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
embed_
static method embed_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new embed
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
fieldset_
static method fieldset_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new fieldset
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
figcaption_
static method figcaption_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new figcaption
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
figure_
static method figure_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new figure
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
font_
static method font_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new font
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
footer_
static method footer_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new footer
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
form_
static method form_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new form
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
frame_
static method frame_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new frame
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
frameset_
static method frameset_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new frameset
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
h_1
static method h1_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new h1
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
h_2
static method h2_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new h2
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
h_3
static method h3_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new h3
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
h_4
static method h4_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new h4
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
h_5
static method h5_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new h5
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
h_6
static method h6_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new h6
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
head_
static method head_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new head
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
header_
static method header_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new header
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
hgroup_
static method hgroup_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new hgroup
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
hr_
static method hr_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new hr
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
static method html_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
i_
static method i_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new i
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
iframe_
static method iframe_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new iframe
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
img_
static method img_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new img
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
input_
static method input_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new input
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
ins_
static method ins_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new ins
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
kbd_
static method kbd_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new kbd
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
label_
static method label_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new label
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
legend_
static method legend_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new legend
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
li_
static method li_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new li
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
link_
static method link_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new link
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
listing_
static method listing_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new listing
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
main_
static method main_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new main
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
static method map_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
mark_
static method mark_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new mark
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
menu_
static method menu_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new menu
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
meta_
static method meta_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new meta
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
meter_
static method meter_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new meter
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
nav_
static method nav_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new nav
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
noscript_
static method noscript_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new noscript
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
object_
static method object_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new object
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
ol_
static method ol_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new ol
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
optgroup_
static method optgroup_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new optgroup
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
option_
static method option_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new option
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
output_
static method output_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new output
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
p_
static method p_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new p
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
param_
static method param_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new param
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
pre_
static method pre_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new pre
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
progress_
static method progress_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new progress
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
q_
static method q_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new q
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
ruby_
static method ruby_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new ruby
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
rp_
static method rp_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new rp
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
rt_
static method rt_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new rt
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
s_
static method s_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new s
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
samp_
static method samp_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new samp
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
script_
static method script_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new script
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
static method section_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
select_
static method select_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new select
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
small_
static method small_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new small
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
source_
static method source_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new source
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
span_
static method span_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new span
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
strong_
static method strong_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new strong
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
style_
static method style_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new style
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
sub_
static method sub_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new sub
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
summary_
static method summary_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new summary
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
sup_
static method sup_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new sup
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
table_
static method table_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new table
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
tbody_
static method tbody_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new tbody
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
td_
static method td_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new td
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
textarea_
static method textarea_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new textarea
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
tfoot_
static method tfoot_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new tfoot
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
th_
static method th_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new th
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
thead_
static method thead_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new thead
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
time_
static method time_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new time
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
title_
static method title_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new title
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
tr_
static method tr_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new tr
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
tt_
static method tt_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new tt
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
u_
static method u_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new u
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
ul_
static method ul_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new ul
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
var_
static method var_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new var
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
video_
static method video_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new video
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
wbr_
static method wbr_ : Eg::Node ($attribute_pairs : object[], $child_nodes_or_text : object of Eg::Node[]|string = undef);
Creates a new wbrt
tag given the attributes $attributes and the child nodes $child_nodes, and returns it.
Repository
Author
Yuki Kimoto kimoto.yuki@gmail.com
Copyright & License
Copyright (c) 2023 Yuki Kimoto
MIT License