1. Home
  2. Computing & Technology
  3. Web Design / HTML

<style></style>

By , About.com Guide

<style> description:

The <style> element places CSS style sheets within the document.

<style> Web Browser Support:
<style> Attributes:
<style> End Tag:
</style> REQUIRED
Contents:

style sheet notation. The following tags are valid within the <style> tag:
None

<style> Valid Context:

The <style> tag is valid within the following tags:
head

<style> Usage:
  • basic style sheet
    <style type="text/css">
    h1 {
      color : #ff0000;
    }
    p {
      font-face : "arial, sans-serif";
    }
    </style>
<style> Special Notes:
  • Use style sheets to create valid XHTML.
More <style> Information:

Return to XHTML element (HTML Tags) Library

Explore Web Design / HTML
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Web Design / HTML

©2009 About.com, a part of The New York Times Company.

All rights reserved.