Developing Webs logo
Google
Web DW-Main DW-Photoshop
Visit the message board for solutions or post a question Check out the Classes offered for free at Developing Webs Voice Chat submit a tutorial, resources, article, font for publication consideration and earn a one way link back to your site Get more specifics about the Developing Webs Voice chat room and its room members View the current news at Developing Webs alternative sites which are resources for your d3evelopment needs Join Developing Webs Chat Link to us on your web page to help support this resource! Check out Developing Webs At yahoo groups! Developing Webs Home Adobe Photoshop Tutorials Macromedia Flash Tutorials Jasc Paint Shop Pro Tutorials Adobe Illustrator Animation basics Some Basic PHP tutorials Perl Tutorials HTML Tutorials Cascading Style Sheets javascript Front Page Tutorials Macromedia Dream Weaver Tutorials dreamweaver Publishing your site, FTP, ChMod, Promotions
RSS Newsfeed
for your site
DW News
Calendar
DW Forum
Right click on button and copy shortcut

Add to My Yahoo!

Reminder
Remember to book mark this site!



Request a Tutorial

 

HTML Code

<STYLE>...</STYLE>
 

The <STYLE> tag can be applied to a particular tag to denote
the STYLE attribute. This is done when using style sheets. A style
definition is, which is the content between the <STYLE> and </STYLE> tags
should be placed in the header of the HTML document.

EXAMPLE:

<HTML>
<HEAD>
<TITLE>Title goes here</TITLE>
<DIV STYLE="style-definition"></STYLE>
</HEAD>
<BODY>
</BODY>
</HTML>

Attributes:

  • disabled - This is a stand-alone attribute which indicates the style reference is initially non-functional.
  • media - This attribute is a keyword representing the intended rendering destination for the style sheet definitions. Multiple destinations are given delimited by commas.
  • title - This attribute is for use when other style sheet methods are specified. It allows the browser to build a menu of alternative style sheets (such as if one or more external Style Sheets are specified through use of the LINK element.) It may also be used to identify the Style Sheet in order to allow the user to have control over turning it on or off.
  • type - This attribute indicates the Internet Media type (MIME) of the STYLE element content. This MIME type applies to style rules applied within the STYLE element area as well as to all inline styles in the current document specified by the STYLE attribute used in HTML elements.
     

Usage:

 

Will look like this:

 

 



"Building The Web Into a Nicer Place -- One Site At A Time"
Developing Webs Group Copyright © 2001-2026 All Rights Reserved
Privacy and Legal