External style sheet

From Wiki @ Karl Jones dot com
Revision as of 11:42, 10 May 2016 by Karl Jones (Talk | contribs)

Jump to: navigation, search

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