The link Element
The link element is represented by the HTMLLinkElement object. HTMLLinkElement object defines the properties shown in the following table.
Name | Description | Returns |
---|---|---|
disabled | Corresponds to the disabled attribute | boolean |
href | Corresponds to the href attribute | string |
rel | Corresponds to the rel attribute | string |
media | Corresponds to the media attribute | string |
hreflang | Corresponds to the hreflang attribute | string |
type | Corresponds to the type attribute | string |