ID-ZIPPO
16-Mar-2011, 06:07:47 PM
Barusan iseng gue nambahin bbcode untuk bikin table. Prinsipnya sama seperti table html biasa.
Requirement : mengerti konsep table html
Tingkat kesulitan : medium to advance :hammer:
Cheatsheet : BBCode Table Generator (http://www.teamopolis.com/tools/bbcode-table-generator.aspx)
Basics:
= <table border="1" width="100%"> </table>
= <tr> </tr>
= <td> </td>
= <th> </th>
Advanced :
= <td rowspan="number">
= <td colspan="number">
= <th rowspan="number">
= <th colspan="number">
Contoh penggunaan dasar :
The code :
_contoh 1_
header 1
header 2
isi 1
isi 2
_contoh 2_
header 1
header 2
isi 1
isi 2
Hasilnya:
_contoh 1_
header 1
header 2
isi 1
isi 2
_contoh 2_
header 1
header 2
isi 1
isi 2
Contoh penggunaan lebih lanjut (Advance) :
The code :
_contoh 1_
header induk
header 1
header 2
isi 1
isi 2
isi 3
_contoh 2_
header induk
header 1
header 2
isi 1
isi 2
isi 3
Hasilnya:
_contoh 1_
header induk
header 1
header 2
isi 1
isi 2
isi 3
_contoh 2_
header induk
header 1
header 2
isi 1
isi 2
isi 3
Semoga bermanfaat...
:upil: :senyum2:
Requirement : mengerti konsep table html
Tingkat kesulitan : medium to advance :hammer:
Cheatsheet : BBCode Table Generator (http://www.teamopolis.com/tools/bbcode-table-generator.aspx)
Basics:
= <table border="1" width="100%"> </table>
= <tr> </tr>
= <td> </td>
= <th> </th>
Advanced :
= <td rowspan="number">
= <td colspan="number">
= <th rowspan="number">
= <th colspan="number">
Contoh penggunaan dasar :
The code :
_contoh 1_
header 1
header 2
isi 1
isi 2
_contoh 2_
header 1
header 2
isi 1
isi 2
Hasilnya:
_contoh 1_
header 1
header 2
isi 1
isi 2
_contoh 2_
header 1
header 2
isi 1
isi 2
Contoh penggunaan lebih lanjut (Advance) :
The code :
_contoh 1_
header induk
header 1
header 2
isi 1
isi 2
isi 3
_contoh 2_
header induk
header 1
header 2
isi 1
isi 2
isi 3
Hasilnya:
_contoh 1_
header induk
header 1
header 2
isi 1
isi 2
isi 3
_contoh 2_
header induk
header 1
header 2
isi 1
isi 2
isi 3
Semoga bermanfaat...
:upil: :senyum2: