<STYLE> and </STYLE>

Description Attributes Examples

Description:

This tag allows you to define styles which may be used within your document. Styles must be defined within the <HEAD> element.

Attributes:

dir=direction
Indicates the direction (right or left) that the text is to be displayed. Useful for languages which display left to right.
lang="lang"
Indicates the language of the text within the text.
type=type
Indicates the content type of the style. May be "text/css" or "test/javascript".

Examples:

<style type="text/css">
<!--
.inputbox {  font-size: 9pt}
a:hover {  color: #FF3300; text-decoration: none}
a:link {  text-decoration: none; color: #333366}
a:visited {  color: #333366; text-decoration: none}
-->
</style>

A simple style which defines an input box (.inputbox), and the characteristics for a (as in the <A> tag) in various states.

Internet Tips Contents
404 Errors Advertising Autoresponse Awardmaster Basics Browsers Careers Chatting Disasters Domains Email Emoticons Ezines Free Stuff Fun Stuff FTP Graphics Homepages HTML Reference HTML Tutorial Interactive Legal Links Msg Boards Microsoft Money Multimedia Networks Newsgroups Newsletter Products RFC's Ringmaster Searches Security Sticky Sites Surfing TANSTAAFL Telnet Viral Webmaster Your System