AngleSharp by Florian Rappl

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

.NET API 1,171,968 bytes

 HtmlSourceElement

Represents the HTML source element.
using AngleSharp.Dom.Css; using AngleSharp.Html; namespace AngleSharp.Dom.Html { internal sealed class HtmlSourceElement : HtmlElement, IHtmlSourceElement, IHtmlElement, IElement, INode, IEventTarget, IParentNode, IChildNode, INonDocumentTypeChildNode, IElementCssInlineStyle { public string Source { get { return GetAttribute(AttributeNames.Src); } set { SetAttribute(AttributeNames.Src, value); } } public string Media { get { return GetAttribute(AttributeNames.Media); } set { SetAttribute(AttributeNames.Media, value); } } public string Type { get { return GetAttribute(AttributeNames.Type); } set { SetAttribute(AttributeNames.Type, value); } } public string SourceSet { get { return GetAttribute(AttributeNames.SrcSet); } set { SetAttribute(AttributeNames.SrcSet, value); } } public string Sizes { get { return GetAttribute(AttributeNames.Sizes); } set { SetAttribute(AttributeNames.Sizes, value); } } public HtmlSourceElement(Document owner) : base(owner, Tags.Source, NodeFlags.SelfClosing | NodeFlags.Special) { } } }