<style> table, th, td { border: 1px solid black; border-collapse: collapse; } th, td { padding: 15px; } #t01 { width: 100%; background-color: #fbf1c7; } #t01 tr:nth-child(even) { background-color: #a89984; } #t01 tr:nth-child(odd) { background-color: #f9f5d7; } #t01 th { color: #fbf1c7; background-color: #282828; } </style>