The Style Tag

ken's picture

Opening tag : <Style>
Closing tag: </Style>

Purpose:
The style tag is used to add styles to a webpage. In most cases styles are better defined within a CSS, but for page specific styles, they can be defined between Style tags within the header of the page.

Attributes:
Dir=direction
- Useful for languages that should be read from right to left.

Lang=language
- Specifies the language of the text between the tags.

Type=type
- Normally this should be "text/css" to indicate it is css type styling.

Example:

-

Related Tags:

-

Back to:
Alphabetical Guide
Guide By Type