HtmlSourceElement Class
https://html.spec.whatwg.org/multipage/embedded-content.html#htmlsourceelement
public sealed class HtmlSourceElement : HtmlElement- Inheritance
HtmlElementHtmlSourceElement
Properties
| Name | Description |
|---|---|
| Height | Gets or sets the value of the height content attribute. |
| Media | Gets or sets the value of the media content attribute. |
| Sizes | Gets or sets the value of the sizes content attribute. |
| Src | Gets or sets the src content attribute, as a URL resolved against the base URL of the document. |
| Srcset | Gets or sets the value of the srcset content attribute. |
| Type | Gets or sets the value of the type content attribute. |
| Width | Gets or sets the value of the width content attribute. |
Height
HtmlElements.g.csGets or sets the value of the height content attribute.
public uint Height { get; set; }Property value
See also
Media
HtmlElements.g.csGets or sets the value of the media content attribute.
public string Media { get; set; }Property value
See also
Sizes
HtmlElements.g.csGets or sets the value of the sizes content attribute.
public string Sizes { get; set; }Property value
See also
Gets or sets the src content attribute, as a URL resolved against the base URL of the document.
public string Src { get; set; }Property value
See also
Srcset
HtmlElements.g.csGets or sets the value of the srcset content attribute.
public string Srcset { get; set; }Property value
See also
Gets or sets the value of the type content attribute.
public string Type { get; set; }Property value
See also
Width
HtmlElements.g.csGets or sets the value of the width content attribute.
public uint Width { get; set; }