HTML & CSS In Pictures

"Cascading" style sheets

Style instructions can be contained within an individual tag or page, without referring to a separate style sheet.

These instructions will override those of the site's style sheet, hence the term "Cascading Style Sheets:"

An instruction in a page's text...

<span style=" color:#ff0000"> This is red text.</span>

...overrides a style instruction for the page...

<html>
<head>
<style>
.redtext {color: "#ff0000"}
</style>
</head>

...which overrides a style instruction for the site.

<head>
<link rel="stylesheet" href="format.css">
</head>
<body>