table {
  width: 800px;
}
table th {
  background-color: black;
  color: white;
}
table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
}
th, td {
  padding: 15px;
  text-align: left;
}
table tr:nth-child(even) {
  background-color: #CCCCCC;
}
table tr:nth-child(odd) {
  background-color: #999999;
}
