attribute

fun attribute(key: String, value: Any): HtmlTagBuilder

Adds an attribute to this tag.

Return

this for concatenation

Parameters

key

attribute key

value

attribute value