HtmlLinkElement Class
https://html.spec.whatwg.org/multipage/semantics.html#htmllinkelement
public sealed class HtmlLinkElement : HtmlElement- Inheritance
HtmlElementHtmlLinkElement
Properties
| Name | Description |
|---|---|
| As | Gets or sets the value of the as content attribute, limited to the known values (the canonical keyword, or the default value). |
| Blocking | Gets the tokens of the blocking content attribute. |
| Charset | Gets or sets the value of the charset content attribute. |
| CrossOrigin | Gets or sets the value of the crossorigin content attribute, limited to the known values (the canonical keyword, or the default value). |
| Disabled | Gets or sets a value indicating whether the element has the disabled content attribute. |
| FetchPriority | Gets or sets the value of the fetchpriority content attribute, limited to the known values (the canonical keyword, or the default value). |
| Href | Gets or sets the href content attribute, as a URL resolved against the base URL of the document. |
| Hreflang | Gets or sets the value of the hreflang content attribute. |
| ImageSizes | Gets or sets the value of the imagesizes content attribute. |
| ImageSrcset | Gets or sets the value of the imagesrcset content attribute. |
| Integrity | Gets or sets the value of the integrity content attribute. |
| Media | Gets or sets the value of the media content attribute. |
| ReferrerPolicy | Gets or sets the value of the referrerpolicy content attribute, limited to the known values (the canonical keyword, or the default value). |
| Rel | Gets or sets the value of the rel content attribute. |
| RelList | Gets the tokens of the rel content attribute. |
| Rev | Gets or sets the value of the rev content attribute. |
| Sheet | 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). |
| Sizes | Gets the tokens of the sizes content attribute. |
| Target | Gets or sets the value of the target content attribute. |
| Type | Gets 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; }Blocking
HtmlElements.g.csGets the tokens of the blocking content attribute.
public DomTokenList Blocking { get; }Property value
See also
Charset
HtmlElements.g.csGets or sets the value of the charset content attribute.
public string Charset { get; set; }CrossOrigin
HtmlElements.g.csGets 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; }Property value
See also
Disabled
HtmlElements.g.csGets or sets a value indicating whether the element has the disabled content attribute.
public bool Disabled { get; set; }FetchPriority
HtmlElements.g.csGets 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; }Property value
See also
Gets or sets the href content attribute, as a URL resolved against the base URL of the document.
public string Href { get; set; }Hreflang
HtmlElements.g.csGets or sets the value of the hreflang content attribute.
public string Hreflang { get; set; }ImageSizes
HtmlElements.g.csGets or sets the value of the imagesizes content attribute.
public string ImageSizes { get; set; }Property value
See also
ImageSrcset
HtmlElements.g.csGets or sets the value of the imagesrcset content attribute.
public string ImageSrcset { get; set; }Property value
See also
Integrity
HtmlElements.g.csGets or sets the value of the integrity content attribute.
public string Integrity { get; set; }Property value
See also
Media
HtmlElements.g.csGets or sets the value of the media content attribute.
public string Media { get; set; }ReferrerPolicy
HtmlElements.g.csGets 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; }Property value
See also
Gets or sets the value of the rel content attribute.
public string Rel { get; set; }RelList
HtmlElements.g.csGets the tokens of the rel content attribute.
public DomTokenList RelList { get; }Property value
See also
Gets or sets the value of the rev content attribute.
public string Rev { get; set; }Sheet
LinkStyle.cshttps://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; }Sizes
HtmlElements.g.csGets the tokens of the sizes content attribute.
public DomTokenList Sizes { get; }Property value
See also
Target
HtmlElements.g.csGets 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; }