Interface HTMLStyleElement

All Superinterfaces:
Element, HTMLElement, Node

public interface HTMLStyleElement extends HTMLElement
Style information. See the STYLE element definition in HTML 4.0, the module and the LinkStyle interface in the module.

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

Since:
1.4, DOM Level 2
  • Method Details Link icon

    • getDisabled Link icon

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

      void setDisabled(boolean disabled)
    • getMedia Link icon

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

      void setMedia(String media)
    • getType Link icon

      String getType()
      The content type pf the style sheet language. See the type attribute definition in HTML 4.0.
    • setType Link icon

      void setType(String type)