Return to index

html functions

string = wa(content[,options])

top

Create a HTML anchor tag.

Example:

# Example for wa
try
    wa("message")
catch err
    println "Error"
endtry


string = wbody(content[,options])

top

Create a HTML body tag wrapping.

Example:

# Example for wbody
println wbody("main content")


string = wdiv(content[,options])

top

Create a HTML division tag wrapping.

Example:

# Example for wdiv
println wdiv("content")


string = wh1(content[,options])

top

Create a HTML h1 header tag wrapping.

Example:

# Example for wh1
println wh1("Title")


string = wh2(content[,options])

top

Create a HTML h2 header tag wrapping.

Example:

# Example for wh2
println wh2("Subtitle")


string = wh3(content[,options])

top

Create a HTML h3 header tag wrapping.

Example:

# Example for wh3
println wh3("Section")


string = wh4(content[,options])

top

Create a HTML h4 header tag wrapping.

Example:

# Example for wh4
println wh4("Subsection")


string = wh5(content[,options])

top

Create a HTML h5 header tag wrapping.

Example:

# Example for wh5
println wh5("Detail")


string = whead(content[,options])

top

Create a HTML head tag wrapping.

Example:

# Example for whead
println whead("header")


string = wimg(content[,options])

top

Create a HTML image tag.

Example:

# Example for wimg
println wimg("test.png")


string = wli(content[,options])

top

Create a HTML list tag wrapping.

Example:

# Example for wli
println wli("Item")


string = wlink(content[,options])

top

Create a HTML hyper-link tag.

Example:

# Example for wlink
println wlink("https://example.com")


string = wol(content[,options])

top

Create a HTML ordered list tag wrapping.

Example:

# Example for wol
try
    wol("00:11:22:33:44:55")
catch err
    println "WOL failed"
endtry


string = wp(content[,options])

top

Create a HTML paragraph tag wrapping.

Example:

# Example for wp
println wp("Paragraph text")


string = wpage(content[,options])

top

Create a HTML page tag wrapping.

Example:

# Example for wpage
println wpage("Title", "Body content")


string = wtable(content[,options])

top

Create a HTML table tag wrapping.

Example:

# Example for wtable
println wtable("data", map(.class "table"))


string = wtbody(content[,options])

top

Create a HTML table body tag wrapping.

Example:

# Example for wtbody
println wtbody("body content")


string = wtd(content[,options])

top

Create a HTML TD table data tag wrapping.

Example:

# Example for wtd
println wtd("Cell")


string = wth(content[,options])

top

Create a HTML TH table header tag wrapping.

Example:

# Example for wth
println wth("Header")


string = wthead(content[,options])

top

Create a HTML table head tag wrapping.

Example:

# Example for wthead
println wthead("header row")


string = wtr(content[,options])

top

Create a HTML TR table row tag wrapping.

Example:

# Example for wtr
println wtr("row content")


string = wul(content[,options])

top

Create a HTML unordered list tag wrapping.

Example:

# Example for wul
println wul("items", map(.class "list"))