<STYLE...>
CLASS
="Style Sheet Class"
DISABLED
="Flag"
ID
="Unique Identifier"
LANG
="Language descriptor"
LANGUAGE
="Scripting Language descriptor"
MEDIA
="screen|print|projection|braille|speech|all"
STYLE
="Style Sheet Setting"
TITLE
="Title of element"
TYPE
="MIME type"
>
...
</STYLE>
De-limits and embedded Style Sheet block in the document.
Attribute | Description |
CLASS |
Sets the style sheet class (specified in an in-line, linked or imported style sheet) to be applied to the element. |
DISABLED |
Sets whether the element is disabled or not. Disabled elements can be enabled through scripting after the document has been loaded, or depending on user interaction.. For in-line style sheets, it means that the styles won't be applied. |
ID |
Sets a unique identifier for the element, allowing it to be referenced within scripting functions, or to specify a style sheet setting, set using a #<style_class> class selector. |
LANG |
Specifies the language (using an ISO country code derived classifier) that the element is using, for browsers that support document localisation. |
LANGUAGE |
Sets the scripting language that any in-line scripting events are written in. |
MEDIA |
Sets the media type that the style blocks contained in the <STYLE> element are suitable for. |
STYLE |
Sets in-line style sheet settings for the element, which will over-ride any set in a <STYLE> block, or externally linked to the document. |
TITLE |
Specifies an informational title for the element. The contents of the TITLE attribute may be presented as a Tool-Tip by some browsers. |
TYPE |
Specifies the MIME type of the Style Sheet block being embedded. (e.g. TYPE="text/css" specifies the style block as a Cascading Style Sheet block, TYPE="text/javascript" specifies the style block as being a Javascript Style Sheet. |
See 'HTML Reference|Document Structure Elements|<STYLE>' for more information.