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
|
|
|
|
|
|
|
|
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access