CSS Example Two

Grouping Selectors

With Or Without Commas

And now we have some body text. You can group two selectors  with the same declarations by listing them with commas between them. For example: H1, H2 { color: red; }. You may also list selectors without the comma to specify a specific nested selector. For example: UL LI B { color: blue: } selects only B elements within LI elements within UL elements. View the stylesheet.