asp.net.ph

Skip Navigation Links

styleSheet Object

Language References


DOM Level 2 Specification.

Represents a single style sheet in the document.

Remarks

The styleSheet interface represents an individual style sheet associated with a structured document. In HTML, the styleSheet object represents either an external style sheet included via the HTML LINK element, or an embedded STYLE element. In XML, this interface represents an external style sheet, included via a style sheet processing instruction.

The styleSheet object is used to retrieve information about the style sheet, such as the URL of the source file for the style sheet and the element in the document that owns ( defines ) the style sheet. The object is also used to modify the style sheet.

A styleSheet object may be retrieved from either the styleSheets collection or from the imports collection. Each item in these collections is a style sheet. A styleSheet object is available for a style sheet only if it is included in a document with a STYLE or LINK element, or with an @import statement in a STYLE element.

Members

styleSheet Members

Applies To

styleSheets



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note