Title: CSS
Course: CPS 120: Introduction to Computer Science ~ Master (Aug/2015) OLD > Section: Learning Units

CSS is a mechanism for adding uniform styling to web pages. It is composed of hundreds of properties.

Styling may control:

- Backgrounds
- Borders
- Colors
- Fonts
- Margins
- Padding

Elements are defined in a file with a .css extension.

.css files are attached to html files via the link tag as shown here:

<!DOCTYPE html>
<html>

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

<body>
Content of the document
</body>

</html>