AngleSharp by AngleSharp

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

 IHtmlParser

public interface IHtmlParser : IParser, IEventTarget
Represents the interface of an HTML parser.

Parses the string and returns the result.

Parses the stream and returns the result.

Parses the string asynchronously.

Parses the stream asynchronously.

Populates the given HTML document asynchronously.

INodeList ParseFragment(string source, IElement contextElement)

Parses the string and returns the result.

INodeList ParseFragment(Stream source, IElement contextElement)

Parses the stream and returns the result.

IHtmlHeadElement ParseHead(string source)

Parses the string and returns the head.

Parses the stream and returns the head.

Parses the string asynchronously.

Parses the stream asynchronously.