Skip to main content

Close
Get the best research tool on the web today,and free!
Connect with people with common interests!

All Annotations of CSS How to[Preview]

saved by9 people, first byEm Hillier on 2006-06-24, last byThomas Ramirez on 2008-05-21

  • ternal Style Sheet
  • hr {color: sienna}
    p {margin-left: 20px}
    body {background-image: url("images/back40.gif")}
  • <head>
    <link rel="stylesheet" type="text/css"
    href="http://www.w3schools.com/mystyle.css" />
    </head>
  • <head>
    <style type="text/css">
    hr {color: sienna}
    p {margin-left: 20px}
    body {background-image: url("images/back40.gif")}
    </style>
    </head>
  • An inline style loses many of the advantages of style sheets by mixing
    content with presentation
  • An inline style loses many of the advantages of style sheets by mixing
    content with presentation. Use this method sparingly, such as when a style is to
    be applied to a single occurrence of an element.
  • To use inline styles you use the style attribute in the relevant tag.
  • on 2006-06-24 Emillipede
    CSS Start point first page css how to external style sheet setup css syntax