Home  |  Latest News  |  Contribute  |  F.A.Q.  |  Account  |  Scripts | About
Search ASPNut:
 
ASP Reference
Server Variables
ASP Glossary
Related Sites

Free Components

HTML Reference
Web Colors
Entities
CSS Level 1
Encode/Decode
Glossary

Our Sponsors
ASP Nuke CMS
Free Auctions
PHP 5 Script
Funktastic Blog
ULost Directory
Team Task

 

 

 

 

 

 

 

 

 

 

 

 

<STYLE>

The STYLE element defines an inline STYLE definition that conforms to the CSS (Cascading Style Sheet) specification. You can create a reference to an external stylesheet by using the LINK element or place your style definitions directly in the code using this tag.

A closing tag is required for this element.

Attributes

Attribute Description
ID Identifies this tag to reference in script (program code)
TYPE Define the content type contained in the STYLE element. By default, the browser should expect to see a type of "text/css"
MEDIA Defines the intended target media for the style information. The default value for this attribute is "screen".

Example

<STYLE type="text/css">
BODY { font: 10pt Verdana,Arial; }
.big { font: 16pt; font-weight: bold }
.red { font-color: #ff0000 }
</STYLE>

Compatibility

HTML 4.01

Return to HTML Tag Reference Overview

Orvado Technologies

ASP Nuke CMS
Free Open Source
Content Manager
HomeFix Boards
Home Remodeling
Message Boards

Contact Us | Contribute | About | Site Map



"Democracy consists of choosing your dictators, after they've told you what it is you want to hear." - Alan Coren

©2007 Orvado Technologies, All Rights Reserved
ASP Nut provides articles and reference documentation for Active Server Page developers.