HtmlLinkElement Class

https://html.spec.whatwg.org/multipage/semantics.html#htmllinkelement

public sealed class HtmlLinkElement : HtmlElement
Inheritance
HtmlElement HtmlLinkElement

Properties

NameDescription
AsGets or sets the value of the as content attribute, limited to the known values (the canonical keyword, or the default value).
BlockingGets the tokens of the blocking content attribute.
CharsetGets or sets the value of the charset content attribute.
CrossOriginGets or sets the value of the crossorigin content attribute, limited to the known values (the canonical keyword, or the default value).
DisabledGets or sets a value indicating whether the element has the disabled content attribute.
FetchPriorityGets or sets the value of the fetchpriority content attribute, limited to the known values (the canonical keyword, or the default value).
HrefGets or sets the href content attribute, as a URL resolved against the base URL of the document.
HreflangGets or sets the value of the hreflang content attribute.
ImageSizesGets or sets the value of the imagesizes content attribute.
ImageSrcsetGets or sets the value of the imagesrcset content attribute.
IntegrityGets or sets the value of the integrity content attribute.
MediaGets or sets the value of the media content attribute.
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.
RevGets or sets the value of the rev content attribute.
Sheethttps://drafts.csswg.org/cssom/#dom-linkstyle-sheet: the style sheet fetched by the BrowsingContextOptions.DocumentLoader when the element links to a style sheet (null until it is fetched, or when the document has no browsing context).
SizesGets the tokens of the sizes content attribute.
TargetGets or sets the value of the target content attribute.
TypeGets or sets the value of the type content attribute.

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

public string As { get; set; }

Gets the tokens of the blocking content attribute.

public DomTokenList Blocking { get; }

Gets or sets the value of the charset content attribute.

public string Charset { get; set; }

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

public string? CrossOrigin { get; set; }

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

public bool Disabled { get; set; }

FetchPriority

HtmlElements.g.cs

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

public string FetchPriority { get; set; }

Gets or sets the href content attribute, as a URL resolved against the base URL of the document.

public string Href { get; set; }

Gets or sets the value of the hreflang content attribute.

public string Hreflang { get; set; }

Gets or sets the value of the imagesizes content attribute.

public string ImageSizes { get; set; }

Gets or sets the value of the imagesrcset content attribute.

public string ImageSrcset { get; set; }

Gets or sets the value of the integrity content attribute.

public string Integrity { get; set; }

Gets or sets the value of the media content attribute.

public string Media { 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 rev content attribute.

public string Rev { get; set; }

https://drafts.csswg.org/cssom/#dom-linkstyle-sheet: the style sheet fetched by the BrowsingContextOptions.DocumentLoader when the element links to a style sheet (null until it is fetched, or when the document has no browsing context).

public CssStyleSheet? Sheet { get; }

Gets the tokens of the sizes content attribute.

public DomTokenList Sizes { get; }

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; }