Construct an attribute with a trusted HTML name and an arbitrary value.
Attribute
:= [Attribute(Str, Str)]
Construct HTML attributes for use with Html.
Attribute values are escaped when rendered. Attribute names passed to
attribute are emitted as HTML syntax and must be
trusted constants, not user input.
Return the attribute name exactly as supplied.
Return the unescaped attribute value exactly as supplied.
Set the HTML class attribute.
Set the HTML id attribute.
Set the HTML href attribute.
Set the HTML src attribute.
Set the HTML rel attribute.
Set the HTML name attribute.
Set the HTML width attribute.
Set the HTML height attribute.
Set the HTML style attribute.
Set the HTML type attribute.
Set the HTML value attribute.
Set the HTML role attribute.
Set the HTML for attribute. The trailing underscore avoids the Roc
keyword.
Set the HTML form action attribute.
Set the HTML form method attribute.
Set the HTML min attribute.
Set the HTML max attribute.