Membuat Tabel dengan CSS


Dengan menggunakan CSS memungkinkan kita membuat tabel pada postingan blog.
Langkah-langkah membuat tabel di psotingan :

  • Buka entri atau postingan yang ingin diberi tabel
  • Pilih mode HTML
  • Masukkan script berikut kedalam HTML. 
  • Untuk melihat hasilnya pilih mode Compose

<table border="1" width="75%">
<caption>Disini adalah titel tabel ini</caption>
 <tr>
  <th style="width:50%;">Header Kolom 1</th>
  <th>Header Kolom 2</th>
 </tr>
 <tr>
  <td>Baris 1 Kolom 1</td>
  <td>Baris 1 Kolom 2</td>
 </tr>
 <tr>
  <td>Baris 2 Kolom 1</td>
  <td>Baris 2 Kolom 2</td>
 </tr>
</table>


Contoh Tabel dengan CSS

Header Kolom 1 Header Kolom 2 Header Kolom 3
Data Cell Data Cell Data Cell
Data Cell Data Cell Data Cell
Data Cell Data Cell Data Cell
Data Cell Data Cell Data Cell
Data Cell Data Cell Data Cell
Data Cell Data Cell Data Cell
Data Cell Data Cell Data Cell
Data Cell Data Cell Data Cell
Data Cell Data Cell Data Cell
Data Cell Data Cell Data Cell
Data Cell Data Cell Data Cell
Data Cell Data Cell Data Cell
Data Cell Data Cell Data Cell