HTMLSourceElement
Represents the HTML source element.
namespace AngleSharp.DOM.Html
{
[DOM("HTMLSourceElement")]
public sealed class HTMLSourceElement : HTMLElement
{
internal const string Tag = "source";
public string Src {
get {
return GetAttribute("src");
}
set {
SetAttribute("src", value);
}
}
public string Media {
get {
return GetAttribute("media");
}
set {
SetAttribute("media", value);
}
}
public string Type {
get {
return GetAttribute("type");
}
set {
SetAttribute("type", value);
}
}
protected internal override bool IsSpecial => true;
internal HTMLSourceElement()
{
_name = "source";
}
}
}