The selector.
The tag name.
Creates a new instance of the Tag class.
The selector.
The tag name.
The selector string of the tag.
The attributes of the tag.
Optionalchildren: ChildrenArg<T>An array of child elements of the tag.
ReadonlyattributesThe attributes of the tag.
ReadonlychildrenAn array of child elements of the tag.
ReadonlyisWhether the tag is a void tag or not.
ReadonlyouterOptional content to insert before and/or after the tag.
ReadonlyselectorThe selector of the tag.
The style of the tag.
Static ReadonlykeepThe list of tags that are immune from whitespace truncation
Returns the HTML string representation of the tag.
The HTML string representation of the tag.
Returns the HTML attributes string of the tag.
The HTML attributes string of the tag.
Returns the HTML string representation of the child elements of the tag.
The HTML string representation of the child elements of the tag.
Represents an HTML tag with its attributes and children.