body { font-family: Arial, sans-serif; margin: 20px; } h1 { text-align: center; } table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 18px; text-align: left; } th, td { padding: 12px; border-bottom: 1px solid #ddd; } thead { background-color: #f2f2f2; } tbody tr:nth-child(even) { background-color: #f9f9f9; } tbody tr:hover { background-color: #f1f1f1; }