Web Hosting Directory | Web Hosting Resources | Webmaster Resources | Domain Tools | Search Engine Marketing | Forums
  Signup
Today: 901   Yesterday: 1,172   Max: 1,872   Total: 384,282   Current Users : 22 (Member 0) 
DOMAIN TOOLS

WEBMASTER TOOLS

RELATED ARTICLES

SUBMIT AN ARTICLE

Write for us and get publicity, link to your website, and best of all get paid. Please visit our writers page for details.


LINK TO US

Link to us and earn points for each visitor you bring to us. Please visit our link partner page for details.

 

<STYLE ...>

  • TYPE: style language
 
  • MEDIA: type of media this syle applies to

<STYLE ...> designates a set of style rules. Browsers do not display the contents of <STYLE ...> but rather use those contents to set the display of other elements in the page.

See Break the <FONT> Habit for a tutorial on using styles.

<STYLE ...> should always include the TYPE attribute, which should in most situations be set to "text/css". Follow the tag with a comment opener so that older browsers and many search engines won't see your styles code. After the style rules put the end comment code and the end tag. So, for example, a minimal set of styles code might look like this:

<STYLE TYPE="text/css">
<!--
H2 {color:green}
-->
</STYLE>

<STYLE ...> only goes inside the <HEAD> element. It does not go in the <BODY ...> element.



Copyright 1997-2002 Idocs, Inc. Written by Miko Sullivan.

 
 
What is your major source of website traffic?
 
 
 
 
 
 

ADVERTISEMENT

 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2008 Broadband Media, Inc. All rights reserved.