className

fun className(className: String?): HtmlTagBuilder

Applies a single class name via the class attribute to this tag.

Return

this for concatenation

Parameters

className

class name. The attribute is not applied if it's null

See also