Skip to main content

HTML ( Sel tabel yang diperlebar)



1.      Praktikum 8 (Sel tabel yang di perlebar)
·         Source code
<!DOCTYPE html>
<html>
<head>
      <title></title>
</head>
<body>
<h4>sel yang melebar dua kolom:</h4>
<table border="1">
<tr>
      <th>nama</th>
      <th colspan="2">telepon</th>
</tr>         
<tr>
      <td>bill gates</td>
      <td>555 77 854</td>
      <td>555 77 855</td>
</tr>
</table>
<h4>sel yang melebar dua baris:</h4>
<table border="1">
<tr>
      <th>nama depan</th>
      <td>bill gates</td>
</tr>
<tr>
      <th rowspan="2">telepon:</th>
      <td>555 77 854</td>
</tr>
<tr>
      <td>555 77 855</td>
</tr>
</table>

</body>
</html>

Comments