Table of Contents

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 TextPosition

The start position of the attribute's name.

name string

The name of the attribute.

value string

The value of the attribute.

Properties

Name

Gets the attribute's name.

public string Name { get; }

Property Value

string

Position

Gets the position of the token.

public TextPosition Position { get; }

Property Value

TextPosition

Value

Gets the attribute's value.

public string Value { get; }

Property Value

string