DekGenius.com
Team LiB   Previous Section   Next Section
LinkStyle a style sheet associated with a node

Availability

DOM Level 2 StyleSheets

Properties

readonly StyleSheet sheet

The StyleSheet object associated with this node.

Description

In DOM implementations that support the StyleSheets module, this interface is implemented by any Document node that links to a style sheet or defines an inline style sheet. The sheet property then provides a way to obtain the StyleSheet object associated with the node.

In HTML documents, the <style> and <link> elements implement this interface. Those elements are represented by the HTMLStyleElement and HTMLLinkElement interfaces, which do not have their own entries in this reference. See HTMLElement for more information about those interfaces.

In XML documents, style sheets are included with a processing instruction. See ProcessingInstruction for more information.

See Also

HTMLElement, ProcessingInstruction

    Team LiB   Previous Section   Next Section