<STYLE>...</STYLE>
Description
This element is a container for style sheet elements to use with this document.
The element must be placed inside the HEAD element.
To hide the contents of the element for browsers that do not support the
element you can use the !-- element.
The World Wide Web Consortium has published the final version of the
level 1 of the Cascading
Style Sheet mechanism
.
DTD
<!ELEMENT STYLE - - %StyleSheet -- style info -->
<!ATTLIST STYLE
%i18n; -- lang, dir, for use with title --
type %ContentType; #REQUIRED -- content type of style language --
media %MediaDesc; #IMPLIED -- designed for use with these media --
title %Text; #IMPLIED -- advisory title --
>
from the
HTML 4.0 DTD,
"Copyright ©
W3C,
(MIT,
INRIA,
Keio).
All Rights Reserved."
Attributes
Internationalization attributes:
dir
lang
MEDIA
This attribute defines which medium should be used to render the document. The
value is a comma-separated value of possible media. The default is "screen".
TYPE
This identifies the content-type of the used style-sheet elements. These are
the supported values:
- text/css
- Used to indicate cascading style sheets.
- text/javascript
- This value is supported by Netscape Navigator 4.0 and indicates JavaScript
style sheets. It is used for the implementation of Dynamic HTML in
Netscape Communicator.
TITLE
Description of the title attribute
Examples
|
<A href="STYLE1.html">See the STYLE element in action</A>, (if your browser
supports them).
|
|
|
See the STYLE element in action, (if your browser
supports them).
|