HTMLTag.classes

Add a class attribute to a HTML tag from an array of strings.

struct HTMLTag(string name)
@safe
classes
(
string[] values...
)

Parameters

values string[]

Classes to write, as an array. This array will be joined with spaces.

Return Value

Type: HTMLTag

Tag builder, for chaining.

Meta