HTMLStyleElement Interface

An HTMLStyleElement interface contains the style information. A more detailed sheet model object is planned to be defined in a separate document.



IDL Definition

Interface HTMLStyleElement : HTMLElement {

           attribute  boolean                  disabled;
           attribute  DOMString                media;
           attribute  DOMString                type; 
};

Semantic Requirements

  1. The disabled attribute enables or disables the style sheet.
  2. The media attribute is designed for use with one or more target media.
  3. The type attribute is the style sheet language (Internet media type).

If you have comments or suggestions, email me at mbrady@nist.gov