
The Complete Idiot's HTML Tag Reference
| Index
| Previous Tag: <STRONG>
| Next Tag: <SUB>
|
<STYLE>
Defines a style sheet.
Support:
-
Notes:
- This tag requires the </STYLE> end tag.
- Include HTML comment tags to hide the style sheet from older browsers.
Attributes:
- LANG
= "Text"
The language used by the tag's attribute values and text content.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
Not supported |
Not supported |
- MEDIA
= "Text"
Determines the intended destination for the styles.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
4.0 and later |
Not supported |
Notes:
-
Possible values: SCREEN, PRINT, PROJECTION, BRAILLE, SPEECH, ALL.
- TYPE
= "Text"
(Required)
The content type of the style sheet.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
3.0 and later |
3.0 and later |
4.0 and later |
Notes:
Example:
<STYLE TYPE="text/css">
<!--
P {font-size: 12pt}
-->
</STYLE>
| Index
| Previous Tag: <STRONG>
| Next Tag: <SUB>
|
|