MLHA - PC - Webdesign - HTML - Styles>Selectors>Properties gox.gif (837 bytes)HTML tags: <STYLE>
gox.gif (837 bytes)HTML properties: CLASS, ID

vExternalvInternalvInline

gox.gif (837 bytes) W3C Recommendation: Cascading Style Sheets, level 1
gox.gif (837 bytes) CSS Guide
www.kandu.dk/dk/kurser/css/cssKursus.asp : CSS kursus
www.w3.org/TR/REC-CSS1
Web Design Group: Cascading Style Sheets
CSS1 Reference
DevGuru CSS Quick Reference : CSS2
WDG: CSS : Properties
W3C Cascading Style Sheets
Web Developers Virtual Library (WDVL) Cascading Style Sheets
The House of Style
Microsoft
Microsoft CSS Gallery
MSDN Web Workshop
CSS
CSS Reference
Using CSS
A Coast-to-Coast Cascade of Style Sheets
MSDN
CSS
CNET Builder: CSS
10 Minute Guide to HTML Style Sheets - Online Book

 

up.gif (857 bytes) External style (global)

<head>
<title>External style </title>
<link rel="stylesheet" href="style.css">
</head>

Style.css(a text file):

BODY   {background: #DDDDDD}
P      {text-align: center}
A:link {color:      green}

 

up.gif (857 bytes) Internal style (global)

<head>
<title>Internal style </title>
<style>
<!--
BODY   {background: #DDDDDD}
P      {text-align: center}
A:link {color:      green}
-->
</style>
</head>

 

up.gif (857 bytes) Inline style (local)

<ul style="list-style: url('../images/shamrock.gif')">
  <li>På den ene side</li>
  <li>På den anden side</li>
</ul>
  • På den ene side
  • På den anden side