AngleSharp by AngleSharp

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

.NET API 960,512 bytes

 IElementFactory<TDocument, TElement>

public interface IElementFactory<TDocument, TElement> where TDocument : IDocument where TElement : IElement
Represents an element factory.
TElement Create(TDocument document, string localName, string prefix = null, NodeFlags flags = 0)

Creates a new element with the given local name and optional prefix.