Tables

Styled Table

Example

<!DOCTYPE html>
<html>
<head>
  <title>Page Title</title>
  <style>
    table { border-collapse: collapse; width: 100%; font-family: Arial; }
    th, td { padding: 10px; text-align: left; border-bottom: 1px solid #ddd; }
    th { background: #282A35; color: white; }
    tbody tr:nth-child(even) { background: #f6f7f8; }
    tbody tr:hover { background: #e6fcf5; }
  </style>
</head>
<body>

<table>
  <thead><tr><th>Course</th><th>Level</th><th>Lessons</th></tr></thead>
  <tbody>
    <tr><td>HTML</td><td>Beginner</td><td>52</td></tr>
    <tr><td>CSS</td><td>Beginner</td><td>48</td></tr>
    <tr><td>SQL</td><td>Beginner</td><td>123</td></tr>
  </tbody>
</table>

</body>
</html>

Result