AngleSharp by AngleSharp

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

 HtmlParserOptions

public struct HtmlParserOptions
Contains a number of options for the HTML parser.
using AngleSharp.Dom; using System; namespace AngleSharp.Parser.Html { public struct HtmlParserOptions { public bool IsEmbedded { get; set; } public bool IsScripting { get; set; } public bool IsStrictMode { get; set; } public Action<IElement, TextPosition> OnCreated { get; set; } } }