AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="1.3.0" />

 HtmlDoctypeToken

public sealed class HtmlDoctypeToken : HtmlToken
The DOCTYPE token.
public bool IsFullQuirks { get; }

Gets if the given doctype token represents a full quirks mode state.

public bool IsLimitedQuirks { get; }

Gets if the given doctype token represents a limited quirks mode state.

public bool IsPublicIdentifierMissing { get; }

Gets the state of the public identifier.

public bool IsQuirksForced { get; set; }

Gets or sets the state of the force-quirks flag.

public bool IsSystemIdentifierMissing { get; }

Gets the state of the system identifier.

public bool IsValid { get; }

Gets the status if the given doctype token matches one of the popular conditions.

public string PublicIdentifier { get; set; }

Gets or sets the value of the public identifier.

public string SystemIdentifier { get; set; }

Gets or sets the value of the system identifier.

public HtmlDoctypeToken(bool quirksForced, TextPosition position)

Creates a new DOCTYPE token with the quirks mode set initially.