Name
<STYLE> — NN 4 IE 3 HTML 4
Synopsis
<STYLE>...</STYLE>
End Tag: Required
The STYLE
element is a container for style sheet rules. Use the
STYLE
element only inside the
HEAD
element. You may include more than one
STYLE
element in a HEAD
element
(see the MEDIA
attribute).
Older browsers may attempt to render the content of a
STYLE
element. To prevent that, you should wrap
the style sheet rules inside HTML comment tags. See Chapter 3 for details on the makeup of style sheet
rules.
Example
<STYLE TYPE="text/css"> <!-- H1 {font-size:18pt; text-transform:capitalize} P {font-size:12pt} --> </STYLE>
Attributes
|
|
|
|
|
|
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.