Interface HTMLStyleElement

All Superinterfaces:
Element, HTMLElement, Node
All Known Implementing Classes:
HTMLStyleElementImpl

public interface HTMLStyleElement extends HTMLElement
Style information. See the STYLE element definition in HTML 4.01, the CSS module [DOM Level 2 Style Sheets and CSS] and the LinkStyle interface in the StyleSheets module [DOM Level 2 Style Sheets and CSS].

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

  • Method Details

    • getDisabled

      boolean getDisabled()
      Enables/disables the style sheet.
    • setDisabled

      void setDisabled(boolean disabled)
      Enables/disables the style sheet.
    • getMedia

      String getMedia()
      Designed for use with one or more target media. See the media attribute definition in HTML 4.01.
    • setMedia

      void setMedia(String media)
      Designed for use with one or more target media. See the media attribute definition in HTML 4.01.
    • getType

      String getType()
      The content type of the style sheet language. See the type attribute definition in HTML 4.01.
    • setType

      void setType(String type)
      The content type of the style sheet language. See the type attribute definition in HTML 4.01.