# class HTMLStyleElement

###

Module | khtml
Namespace | DOM
Class | HTMLStyleElement
Inherits | DOM::HTMLElement

Style information. A more detailed style sheet object model is planned to be defined in a separate document. See the STYLE element definition in HTML 4.0.

### methods

- HTMLStyleElement ( )

  returns ctor

- HTMLStyleElement (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | DOM.HTMLStyleElement |

- HTMLStyleElement (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | DOM.Node |

- HTMLStyleElement (impl)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  impl | HTMLStyleElementImpl |

- disabled ( )

  returns bool

  Enables/disables the style sheet.

- media ( )

  returns DOM.DOMString

  Designed for use with one or more target media. See the media attribute definition in HTML 4.0.

- setDisabled (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | bool |

  see disabled

- setMedia (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see media

- setType (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see type

- sheet ( )

  returns DOM.StyleSheet

  Introduced in DOM Level 2 This method is from the LinkStyle interface

  The style sheet.

- type ( )

  returns DOM.DOMString

  The style sheet language (Internet media type). See the type attribute definition in HTML 4.0.