HTML and CSS Reference
THE ANATOMY OF A STYLE
A style sheet is a text file, which you'll usually place on a
web server alongside your HTML pages. It contains one
or more rules . The order of the rules doesn't matter.
Each rule applies one or more formatting details to one
or more HTML elements. Here's the structure of a simple
And here's what each part means: