html display text in alternating coloured panels

CSS
.altColourElementClass: nth-of-type(odd) {
    background: #e0e0e0;
}
Source

Also in CSS: