AngleSharp by Florian Rappl

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

 Extensions

public static class Extensions
A set of useful extension methods when dealing with the DOM.
public static T Attr<T>(this T elements, string attributeName, string attributeValue) where T : IEnumerable<Element>

Sets the specified attribute name to the specified value for all elements in the given collection.

public static T Css<T>(this T elements, string declarations) where T : IEnumerable<Element>

Extends the CSS of the given elements with the specified declarations.

public static T Html<T>(this T elements, string html) where T : IEnumerable<Element>

Sets the inner HTML of the given elements.

public static T Text<T>(this T elements, string text) where T : IEnumerable<Element>

Sets the text content of the given elements.