AngleSharp by AngleSharp

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

 HtmlParserOptions

public struct HtmlParserOptions
Contains a number of options for the HTML parser.
public bool IsEmbedded { get; set; }

Gets or sets if the document is embedded.

public bool IsNotSupportingFrames { get; set; }

Gets or sets if frames should not be supported. Once set this will ignore frame elements and respect noframes elements.

public bool IsScripting { get; set; }

Gets or sets if scripting is allowed.

public bool IsStrictMode { get; set; }

Gets or sets if errors should be treated as exceptions.

public Action<IElement, TextPosition> OnCreated { get; set; }

Gets or sets the callback once a new element was created.