|
Reminder |
| Remember to book mark
this site! |
|
HTML Code
<STYLE>...</STYLE>
The <STYLE> tag can be applied to a
particular tag to denote
the STYLE attribute. This is done when using style sheets. A style
definition is, which is the content between the <STYLE> and </STYLE> tags
should be placed in the header of the HTML document.
EXAMPLE:
<HTML>
<HEAD>
<TITLE>Title goes here</TITLE>
<DIV STYLE="style-definition"></STYLE>
</HEAD>
<BODY>
</BODY>
</HTML>
Attributes:
- disabled - This is a stand-alone attribute which indicates the
style reference is initially non-functional.
- media - This attribute is a keyword representing the intended
rendering destination for the style sheet definitions. Multiple
destinations are given delimited by commas.
- title - This attribute is for use when other style sheet
methods are specified. It allows the browser to build a menu of
alternative style sheets (such as if one or more external Style Sheets are
specified through use of the LINK element.) It may also be used to
identify the Style Sheet in order to allow the user to have control over
turning it on or off.
- type - This attribute indicates the Internet Media type (MIME)
of the STYLE element content. This MIME type applies to style rules
applied within the STYLE element area as well as to all inline styles in
the current document specified by the STYLE attribute used in HTML
elements.
Usage:
Will look like this:
"Building The Web Into a Nicer Place -- One Site At A Time"
Developing Webs Group Copyright © 2001-2026 All Rights Reserved
Privacy
and Legal
|
|
 |