HTMLBodyElement
Represents the HTML body element.
namespace AngleSharp.DOM.Html
{
public class HTMLBodyElement : HTMLElement
{
public const string Tag = "body";
public string ALink {
get {
return GetAttribute("alink");
}
set {
SetAttribute("alink", value);
}
}
public string Background {
get {
return GetAttribute("background");
}
set {
SetAttribute("background", value);
}
}
public string BgColor {
get {
return GetAttribute("bgcolor");
}
set {
SetAttribute("bgcolor", value);
}
}
public string Link {
get {
return GetAttribute("link");
}
set {
SetAttribute("link", value);
}
}
public string Text {
get {
return GetAttribute("text");
}
set {
SetAttribute("text", value);
}
}
public string VLink {
get {
return GetAttribute("vlink");
}
set {
SetAttribute("vlink", value);
}
}
protected internal override bool IsSpecial => true;
public HTMLBodyElement()
{
base.NodeName = "body";
}
}
}