Multiple Selection

A CSS rule selector can apply to several different contexts by using multiple simple selectors separated by commas. The <h1>, <h3>, and <h5> headers are controlled by a single rule while the <h2>, <h4>, and <h6> headers are controlled by a different rule.

An <h1> Header

An <h2> Header

An <h3> Header

An <h4> Header

An <h5> Header
An <h6> Header