HTMLTag.id

Add an id attribute to the HTML tag.

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

Parameters

value Ts

Value to use for the attribute. Supports istrings.

Return Value

Type: HTMLTag

Tag builder, for chaining.

Meta