![]() |
Web Accessibility AS/DSPS |
| Cuesta Home... DSPS... Web Access... Using CSS... External CSS |
The external style sheet is a simple text file which has been saved with a CSS extension. To get a consistent look across all your web pages, it is useful to link to the same external style sheet in your web pages. Here is a sample external cascading style sheet:

The linked CSS file can be created in notepad or in front page. See the CSS Exercise for information creating and editing CSS files. For examples of the code which can be entered into the CSS file, see the CSS Handout. or visit www.w3schools.com.
The external style sheet is "linked" to your web page with the link tag, as on the fourth line below:
<html>
<head>
<title> Using CSS </title>
<link rel="stylesheet" href="filename.css">
</head>
<body>
</body>
</html>