W3C logo

Interface LinkStyle

public interface LinkStyle

The LinkStyle interface provides a mechanism by which a style sheet can be retrieved from the node responsible for linking it into a document. An instance of the LinkStyle interface can be obtained using binding-specific casting methods on an instance of a linking node (HTMLLinkElement, HTMLStyleElement or ProcessingInstruction in DOM Level 2).

See also the Document Object Model (DOM) Level 2 Style Specification.

DOM Level 2

Method Summary
 StyleSheet getSheet()
          The style sheet.

Method Detail


public StyleSheet getSheet()
The style sheet.

Copyright © 2003 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. Your interactions with this site are in accordance with our public and Member privacy statements.