HTMLTag.id

Add an id attribute to the HTML tag.

  1. HTMLTag id(string value)
    struct HTMLTag(string name)
    @safe
    id
    (
    string value
    )
  2. HTMLTag id(InterpolationHeader header, Ts value)

Parameters

value string

Value to use for the attribute. Supports istrings.

Return Value

Type: HTMLTag

Tag builder, for chaining.

Meta