org.w3c.dom.html

Interface HTMLStyleElement

public interface HTMLStyleElement extends 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.
Method Summary
booleangetDisabled()
Enables/disables the style sheet.
StringgetMedia()
Designed for use with one or more target media.
StringgetType()
The style sheet language (Internet media type).
voidsetDisabled(boolean disabled)
voidsetMedia(String media)
voidsetType(String type)

Method Detail

getDisabled

public boolean getDisabled()
Enables/disables the style sheet.

getMedia

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

getType

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

setDisabled

public void setDisabled(boolean disabled)

setMedia

public void setMedia(String media)

setType

public void setType(String type)