<LINK...>
CLASS
="Style Sheet Class"
DISABLED
="Flag"
HREF
="URL"
ID
="Unique Identifier"
LANG
="Language descriptor"
LANGUAGE
="Scripting Language descriptor"
REL
="URL"
REV
="URL"
STYLE
="Style Sheet Setting"
TITLE
="Title of element"
TYPE
="MIME type"
onError
="Script Function"
onLoad
="Script Function"
onReadyStateChange
="Script Function"
>
References a linked resource for the current document. Typically, this would be a style sheet attached to the document.
Attribute | Description |
CLASS |
Sets the style sheet class (specified in an in-line, linked or imported style sheet) to be applied to the element. |
DISABLED |
Sets whether the element is disabled or not. Disabled elements can be enabled through scripting after the document has been loaded, or depending on user interaction. For externally linked style sheets, it means that the styles won't be applied. |
HREF |
Specifies the URL of the resource to be linked to the current document. |
ID |
Sets a unique identifier for the element, allowing it to be referenced within scripting functions, or to specify a style sheet setting, set using a #<style_class> class selector. |
LANG |
Specifies the language (using an ISO country code derived classifier) that the element is using, for browsers that support document localisation. |
LANGUAGE |
Sets the scripting language that any in-line scripting events are written in. |
REL |
Specifies the forward relationship (how does the linked resource relate to the current document) that the linked resource (specified in the HREF ) attribute has to the document. |
REV |
Specifies the reverse relationship (I.e. how does the current document relate to that it's being linked to) that the resource referenced in the HREF attribute has to the current link. |
STYLE |
Sets in-line style sheet settings for the element, which will over-ride any set in a <STYLE> block, or externally linked to the document. |
TITLE |
Specifies an informational title for the element. The contents of the TITLE attribute may be presented as a Tool-Tip by some browsers. |
TYPE |
Specifies the MIME type of the resource being linked to the document. E.g. TYPE="text/css" specifies the resource is a Style Sheet. |
Event | Description |
onError |
Fired when an error occurs in attempting to locate or download the resuorce referenced in the HREF attribute. |
onLoad |
Fired after the resource referenced in the HREF attribute starts to download. |
onReadyStateChange |
Fired when the elements readyState property changes value. |
See 'HTML Reference|Document Structure Elements|<LINK>' for more information.