Interface IHtmlSourceElement
- Namespace
- AngleSharp.Html.Dom
- Assembly
- AngleSharp.dll
Represents the source HTML element.
[DomName("HTMLSourceElement")]
public interface IHtmlSourceElement : IHtmlElement, IElement, INode, IEventTarget, IMarkupFormattable, IParentNode, IChildNode, INonDocumentTypeChildNode, IGlobalEventHandlers
- Inherited Members
- Extension Methods
Properties
Media
Gets or sets the intended type of the media resource.
[DomName("media")]
string? Media { get; set; }
Property Value
Sizes
Gets or sets the sizes if used in conjunction with a picture.
[DomName("sizes")]
string? Sizes { get; set; }
Property Value
Source
Gets or sets the URL for a media resource. Is ignored when used for the picture element.
[DomName("src")]
string? Source { get; set; }
Property Value
SourceSet
Gets or sets the URL of a picture element.
[DomName("srcset")]
string? SourceSet { get; set; }
Property Value
Type
Gets or sets the type of the media source.
[DomName("type")]
string? Type { get; set; }