Style definition  - <STYLE>   -  </STYLE>

Previous- STRONG - Strong text  |  Next-SUB - Subscript

Description
Allows the inclusion of formatting information in each tag which supports the style attribute. Therefore the page can contain its own style sheet. The style tag is placed within the <HEAD> tags on a web page, and defines styles to be used for the current page. If the styles are to be used throughout a whole web site, then it may be better to place them in a linked .css file (cascading stylesheet).
Attributes
NameValuesDescription
dirltr|rtlThe direction in which text flows when surrounded by text which flows in different directions.
disabled
idstringA unique name to identify an element.
langlanguage_typeThe ISO description for the language of the element.
mediascreen|print|projection|braille|speech|allDetermines which output device the document will use (screen, printer, projection, Braille, speech or all).
srcurlSource filename
titlestringTitle for element which is often displayed as a tool-tip when the cursor hovers over the element.
typebutton|reset|submitMime type for the link, or various other alternatives depending on the source.

Example
<head>
<style>
<!--
p {font-family:arial;size=18px;}
-->
</head>
<body>
<p>all the paragraph text in this document will be in arial font with size of 18 pixels because the style above has defined a new format for the <p> tag.
</body>
This example can not be displayed.
Compatability
HTMLNETSCAPEINTERNET EXPLORER
4.1N2N3N4N6IE3IE4IE5IE6
YES NO NO YES YES YES YES YES YES

Previous- STRONG - Strong text  |  Next-SUB - Subscript