16 Desember 2011

HTML tabel

<html>
<body>

<h4>Table headers:</h4>
<table border="1">
<tr>
  <th>Nama</th>
  <th>Telephone</th>
  <th>Telephone</th>
</tr>
<tr>
  <td>Saya</td>
  <td>0341 - 111111</td>
  <td>0341 - 111111</td>
</tr>
</table>

<h4>Vertical headers:</h4>
<table border="1">
<tr>
  <th>Nama:</th>
  <td>Saya</td>
</tr>
<tr>
  <th>Telephone:</th>
  <td>0341 - 111111</td>
</tr>
<tr>
  <th>Telephone:</th>
  <td>0341 - 111111</td>
</tr>
</table>

</body>
</html>
Hasilnya

Table headers:

Nama Telephone Telephone
Saya 0341 - 111111 0341 - 111111

Vertical headers:

Nama: Saya
Telephone: 0341 - 111111
Telephone: 0341 - 111111

2 komentar:

  1. Gan minta tolong ajarin caranya drop down itu gmana ?

    BalasHapus
  2. http://www.stefanusak.co.cc/2011/12/html-simple-drop-down-list.html udah bos :D

    BalasHapus