<STYLE>
The STYLE element defines an inline STYLE definition that conforms
to the CSS (Cascading Style Sheet) specification. You can create a
reference to an external stylesheet by using the LINK element or
place your style definitions directly in the code using this tag.
A closing tag is required for this element.
Attributes
Attribute |
Description |
ID |
Identifies this tag to reference in script (program code) |
TYPE |
Define the content type contained in the STYLE element. By default, the
browser should expect to see a type of "text/css" |
MEDIA |
Defines the intended target media for the style information. The default
value for this attribute is "screen". |
|
Example
<STYLE TYPE="text/css">
BODY { font: 10pt Verdana,Arial; }
.big { font: 16pt; font-weight: bold }
.red { font-color: #ff0000 }
</STYLE>
Compatibility
HTML 4.01
|