Struct HtmlAttributeToken
- Namespace
- AngleSharp.Html.Parser.Tokens
- Assembly
- AngleSharp.dll
The token representation of an HTML tag attribute.
public readonly struct HtmlAttributeToken
- Inherited Members
- Extension Methods
Constructors
HtmlAttributeToken(TextPosition, string, string)
Creates a new attribute token using the provided information.
public HtmlAttributeToken(TextPosition position, string name, string value)
Parameters
position
TextPositionThe start position of the attribute's name.
name
stringThe name of the attribute.
value
stringThe value of the attribute.
Properties
Name
Gets the attribute's name.
public string Name { get; }
Property Value
Position
Gets the position of the token.
public TextPosition Position { get; }
Property Value
Value
Gets the attribute's value.
public string Value { get; }