Creates a new HTML start tag token.
The tag name.
The tag attributes.
true if the tag is an empty element; otherwise, false.
Creates a new HTML tag token.
The tag name.
true if the tag is an end tag; otherwise, false.
ReadonlykindThe kind of HTML token that this object represents.
ReadonlyattributesThe tag attributes.
Whether this tag is an empty element tag.
ReadonlyisWhether this tag is an end tag.
ReadonlynameThe tag name.
Returns a string that represents the current HTML token.
The serialized HTML token.
An HTML tag token.