HtmlAreaElement Class

https://html.spec.whatwg.org/multipage/image-maps.html#htmlareaelement

public sealed class HtmlAreaElement : HtmlElement
Inheritance
HtmlElement HtmlAreaElement

Properties

NameDescription
AltGets or sets the value of the alt content attribute.
CoordsGets or sets the value of the coords content attribute.
DownloadGets or sets the value of the download content attribute.
HashGets or sets the fragment of the URL of the hyperlink, including the leading number sign.
HostGets or sets the host and the port of the URL of the hyperlink.
HostnameGets or sets the host of the URL of the hyperlink, without the port.
HrefGets or sets the value of the href content attribute.
HreflangGets or sets the value of the hreflang content attribute.
NoHrefGets or sets a value indicating whether the element has the nohref content attribute.
OriginGets the serialization of the origin of the URL of the hyperlink, or an empty string when there is no URL.
PasswordGets or sets the password of the URL of the hyperlink.
PathnameGets or sets the path of the URL of the hyperlink.
PingGets or sets the value of the ping content attribute.
PortGets or sets the port of the URL of the hyperlink.
ProtocolGets or sets the scheme of the URL of the hyperlink, followed by a colon.
ReferrerPolicyGets or sets the value of the referrerpolicy content attribute, limited to the known values (the canonical keyword, or the default value).
RelGets or sets the value of the rel content attribute.
RelListGets the tokens of the rel content attribute.
SearchGets or sets the query of the URL of the hyperlink, including the leading question mark.
ShapeGets or sets the value of the shape content attribute.
TargetGets or sets the value of the target content attribute.
TypeGets or sets the value of the type content attribute.
UsernameGets or sets the username of the URL of the hyperlink.

Gets or sets the value of the alt content attribute.

public string Alt { get; set; }

Gets or sets the value of the coords content attribute.

public string Coords { get; set; }

Gets or sets the value of the download content attribute.

public string Download { get; set; }

Gets or sets the fragment of the URL of the hyperlink, including the leading number sign.

public string Hash { get; set; }

Gets or sets the host and the port of the URL of the hyperlink.

public string Host { get; set; }

Gets or sets the host of the URL of the hyperlink, without the port.

public string Hostname { get; set; }

Gets or sets the value of the href content attribute.

public string Href { get; set; }

Gets or sets the value of the hreflang content attribute.

public string Hreflang { get; set; }

Gets or sets a value indicating whether the element has the nohref content attribute.

public bool NoHref { get; set; }

Gets the serialization of the origin of the URL of the hyperlink, or an empty string when there is no URL.

public string Origin { get; }

Gets or sets the password of the URL of the hyperlink.

public string Password { get; set; }

Gets or sets the path of the URL of the hyperlink.

public string Pathname { get; set; }

Gets or sets the value of the ping content attribute.

public string Ping { get; set; }

Gets or sets the port of the URL of the hyperlink.

public string Port { get; set; }

Gets or sets the scheme of the URL of the hyperlink, followed by a colon.

public string Protocol { get; set; }

ReferrerPolicy

HtmlElements.g.cs

Gets or sets the value of the referrerpolicy content attribute, limited to the known values (the canonical keyword, or the default value).

public string ReferrerPolicy { get; set; }

Gets or sets the value of the rel content attribute.

public string Rel { get; set; }

Gets the tokens of the rel content attribute.

public DomTokenList RelList { get; }

Gets or sets the value of the shape content attribute.

public string Shape { get; set; }

Gets or sets the value of the target content attribute.

public string Target { get; set; }

Gets or sets the value of the type content attribute.

public string Type { get; set; }

Gets or sets the username of the URL of the hyperlink.

public string Username { get; set; }

Methods

NameDescription
ToString()The stringifier of HTMLHyperlinkElementUtils: the href IDL attribute.

The stringifier of HTMLHyperlinkElementUtils: the href IDL attribute.

public override string ToString()

Returns

string