Difference between revisions of "External style sheet"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(See also)
 
Line 18: Line 18:
  
 
* [[Cascading Style Sheets]]
 
* [[Cascading Style Sheets]]
 +
* [[Conditional CSS]]
 +
  
 
[[Category:Cascading Style Sheets]]
 
[[Category:Cascading Style Sheets]]
 
[[Category:Web design]]
 
[[Category:Web design]]
 
[[Category:Web design and development]]
 
[[Category:Web design and development]]

Latest revision as of 11:42, 10 May 2016

An external style sheet is a text file containing CSS rules.

External style sheet files usually have the .css file extension.

Example

A typical example:

<head>
 <link rel="stylesheet" type="text/css" href="sitename.css">
</head>

The above example is named "sitename.css", where "sitename" is the name of the website.

It is also common to name external style sheets after their function, for example "holiday.css" for styles which only apply during a holiday season.

See also