This topic has not yet been rated - Rate this topic

HTMLStyleElement Prototype

Defines the properties and methods inherited by objects in the HTMLStyleElement prototype chain.

Syntax

HTML N/A
Scripting HTMLStyleElement.prototype

Members Table

The following table lists the members exposed by the HTMLStyleElement Constructor object.

Attributes/Properties

Attribute Property Description
MEDIA media Gets or sets the media type.
styleSheet Retrieves an interface pointer that provides access to the style sheet object's properties and methods.

Events

Event Event Property Description
error onerror Fires when an error occurs during object loading.
load onload Fires immediately after the client loads the object.

Styles

Style attribute Style property Description
TYPE type Retrieves the Cascading Style Sheets (CSS) language in which the style sheet is written.

Remarks

For more information on this and other DOM Prototypes , see Document Object Model Prototypes, Part 1: Introduction.

This prototype derives from the Element Constructor.

Applies To

STYLE

See Also

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.