Skip to content

Instantly share code, notes, and snippets.

@dikiwidia
Created May 17, 2020 16:22
Show Gist options
  • Save dikiwidia/e9f8216306e28fe832c287d9a55a2d7a to your computer and use it in GitHub Desktop.
Save dikiwidia/e9f8216306e28fe832c287d9a55a2d7a to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tabel</title>
</head>
<body>
<table border="1" style="width: 100%;">
<thead>
<tr>
<th>No</th>
<th>Nama</th>
<th>Usia</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Asep Sunarya</td>
<td>22 Tahun</td>
</tr>
<tr>
<td>2</td>
<td>Moch Diki Widianto</td>
<td>24 Tahun</td>
</tr>
<tr>
<td>3</td>
<td>Indra Kusuma</td>
<td>24 Tahun</td>
</tr>
<tr>
<td>Laki-laki:</td>
<td>3 Orang</td>
<td rowspan="2">Jumlah Keseluruhan</td>
</tr>
<tr>
<td>Perempuan:</td>
<td>0 Orang</td>
</tr>
<tr>
<td colspan="2">Sumber Data:</td>
<td>Pribadi</td>
</tr>
<tr>
<td colspan="2">COLSPAN 2</td>
<td>TANPA COLSPAN</td>
</tr>
<tr>
<td rowspan="3">ROWSPAN 3</td>
<td colspan="2">COLSPAN 2</td>
</tr>
<tr>
<td>TANPA ROWSPAN</td>
<td rowspan="2">ROWSPAN 2</td>
</tr>
<tr>
<td>TANPA ROWSPAN</td>
</tr>
</tbody>
</table>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment