/* define all text as black */

body { color: black; }

/* define all the <p> tag entries as red */

p { color: red; }

/* define all h1 and h2 tag entries as green */

h1, h2 {color: green; }

/* define all paragraphs in table data elements as blue [a contextual selector]*/

td p {color: blue; }

/* define all h3 and h4 entries as grey and italic [known as grouping selectors]*/ 

h3, h4 {color: gray; font-style: italic;}

/* define h4 as bold too - show that multiple css statements can refer to one tag type*/

h4 { text-decoration: underline; }

/* define id selector onlyoneid - ids only used one so that javascript and others can locate the exact point in the page */

#onlyoneid { color: yellow; }

/* define class multipleuses which can be used wherever you like */

.multipleuses { text-decoration: underline; }

