Interface HTMLStyleElement

All Superinterfaces:
Element, EventTarget, HTMLElement, InnerHTML, Node, NonDocumentTypeChildNode, ParentNode
All Known Implementing Classes:
HTMLStyleElementImpl

public interface HTMLStyleElement extends HTMLElement
A <style> element. It inherits properties and methods from its parent, HTMLElement, and from LinkStyle.
  • Method Details

    • getMedia

      String getMedia()
      Sets or retrieves the media type.
      Returns:
      a String object.
    • setMedia

      void setMedia(String media)

      setMedia.

      Parameters:
      media - a String object.
    • getType

      @Deprecated String getType()
      Deprecated.
      Retrieves the CSS language in which the style sheet is written.
      Returns:
      a String object.
    • setType

      void setType(String type)

      setType.

      Parameters:
      type - a String object.
    • setDisabled

      void setDisabled(boolean disabled)

      setDisabled.

      Parameters:
      disabled - a Boolean object.
    • isDisabled

      boolean isDisabled()

      isDisabled.

      Returns:
      a Boolean object.
    • getStyleSheet

      CSSStyleSheet getStyleSheet()

      isDisabled.

      Returns:
      a CSSStyleSheet object.