how to put an alternating zebra stripes in table cell html code example Example: striped tables css tr:nth-child(even) { background-color: #f1f8ff; }