Attribute for <STYLE ...>

TYPE indicates which style language is being used. TYPE is required, though admittedly virtually all browsers are happy enough without it.

The only really popular style language is W3C's Cascading Styles Sheets. Assuming that's the language you want to use, your <STYLE ...> tag should look like this:

<STYLE TYPE="text/css">

The only other style language with any significant distribution is Netscape's Javascript Style Sheet, supported by Netscape 4. For information on JSSS see Chuck Musciano's excitedly titled The dynamic, powerful abilities of JavaScript Style Sheet.

About the Author
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.