tag

fun tag(name: String, init: HtmlTagBuilder.() -> Unit = {}): <Error class: unknown class>

Appends a sub-tag.

Return

this for concatenation

Parameters

name

name of the tag

init

action to run at initialization


fun tag(name: String, content: List<Node>): <Error class: unknown class>

Appends a sub-tag.

Return

this for concatenation

Parameters

name

name of the tag

content

nodes to render as HTML within the tag