This is a paragraph
Within your HTML document using the style element: p { color: red; } In a separate file referenced with the link element (within the element):This is a piece of text
This is another piece of text
For example div p { color: red;} p { color: blue;}This is some text
With the following CSS rules: p { color: black; } div.warning p { color: red; } div#caution p { color: yellow; } body#home div p { color: white; }This is some text
We can do this with the declaration !important: body#home div p { color: blue; } p.error { color: red !important; }