HtmlSourceElement Class

https://html.spec.whatwg.org/multipage/embedded-content.html#htmlsourceelement

public sealed class HtmlSourceElement : HtmlElement
Inheritance
HtmlElement HtmlSourceElement

Properties

NameDescription
HeightGets or sets the value of the height content attribute.
MediaGets or sets the value of the media content attribute.
SizesGets or sets the value of the sizes content attribute.
SrcGets or sets the src content attribute, as a URL resolved against the base URL of the document.
SrcsetGets or sets the value of the srcset content attribute.
TypeGets or sets the value of the type content attribute.
WidthGets or sets the value of the width content attribute.

Gets or sets the value of the height content attribute.

public uint Height { get; set; }

Gets or sets the value of the media content attribute.

public string Media { get; set; }

Gets or sets the value of the sizes content attribute.

public string Sizes { get; set; }

Gets or sets the src content attribute, as a URL resolved against the base URL of the document.

public string Src { get; set; }

Gets or sets the value of the srcset content attribute.

public string Srcset { get; set; }

Gets or sets the value of the type content attribute.

public string Type { get; set; }

Gets or sets the value of the width content attribute.

public uint Width { get; set; }