CSS Tablo - HTML Tabloya CSS ile Border Eklemek

Konuya git Çalıştır
<!DOCTYPE html>
<html>
<head>
<style>
table, th, td {
    border: 1px solid black;
}
</style>
</head>
<body>

<h2>Tabloya border eklemek</h2>

<table>
  <tr>
    <th>ad</th>
    <th>soyad</th>
  </tr>
  <tr>
    <td>ali</td>
    <td>veli</td>
  </tr>
  <tr>
    <td>ayse</td>
    <td>pek</td>
  </tr>
</table>

</body>
</html>