The LinkStyle interface allows to access the associated CSS style sheet of a node.

LinkStyle is a raw interface and no object of this type can be created; it is implemented by HTMLLinkElement and HTMLStyleElement objects.


There is no inherited property.

LinkStyle.sheet Read only
Returns the StyleSheet object associated with the given element, or null if there is none.


This interface implements no method.


Specification Status Comment
CSS Object Model (CSSOM)
The definition of 'LinkStyle' in that specification.
Working Draft No change from Document Object Model (DOM) Level 2 Style Specification.
Document Object Model (DOM) Level 2 Style Specification
The definition of 'LinkStyle' in that specification.
Obsolete Initial definition

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support ? Yes ? ? ? ?
sheet ? ? ? ? ? ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support ? ? Yes ? ? ? ?
sheet ? ? ? ? ? ? ?

Document Tags and Contributors

Contributors to this page: fscholz, libbymc, Sebastianz, teoli, Krinkle, kscarfone, ethertank, Sheppy, Brettz9
Last updated by: fscholz,