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
•
Table of Contents
•
Index
•
Reviews
•
Examples
•
Reader Reviews
•
Errata
JavaScript: The Definitive Guide, 4th Edition
By
David Flanagan
Publisher
: O'Reilly
Pub Date
: November 2001
ISBN
: 0-596-00048-0
Pages
: 936
Slots
: 1
This fourth edition of the definitive reference to
JavaScript, a scripting language that can be embedded
directly in web pages, covers the latest version of the
language, JavaScript 1.5, as supported by Netscape 6 and
Internet Explorer 6. The book also provides complete
coverage of the W3C DOM standard (Level 1 and Level 2),
while retaining material on the legacy Level 0 DOM for
backward compatibility.