STYLE HTML Element
The STYLE element defines a set of CSS style rules for the page. This element is not rendered and requires a closing tag.
Attributes
Attribute | Value | Description |
---|---|---|
MEDIA | Specifies the type of media for which the CSS style rules were intended. If a value is not specified or the screen, handheld, or all value is specified, the stye is used. Otherwise, the style is ignored. | |
MEDIA | all | Default. Intended for all devices. |
MEDIA | handheld | Output is intended for handheld devices. |
MEDIA | screen | Output is intended for computer screens. |
TYPE | Retrieves the CSS language in which the style sheet is written. | |
TYPE | text/css | Internet Explorer Mobile assumes that the type is text/css and ignores the type. |
Requirements
Smartphone: Windows Mobile 2003 and later
OS Versions: Windows CE 3.0 and later
Last updated on Friday, April 22, 2005
© 2005 Microsoft Corporation. All rights reserved.
Send feedback on this topic to the authors.