Senin, 11 April 2011

script Membuat Tabel di Blog








Nama tabel
satu kolom

script nya
<table width="200" border="1">
<tr>
<td scope="col"><div align="center">Nama tabel</div></td>
</tr>
<tr>
<td><div align="center">satu kolom</div></td>
</tr>
</table>






keras
watak

script nya
<table width="200" border="1">
<tr>
<td scope="col"><div align="center">keras</div></td>
<td scope="col"><div align="center">watak</div></td>
</tr>
</table>
;










qqq
wwww
aaaaa
zzzzz

scripnya
<table width="500" border="1">
<tr>
<td scope="col"><div align="center">qqq</div></td>
<td scope="col"><div align="center">wwww</div></td>
</tr>
<tr>
<td scope="col"><div align="center">aaaaa Goggle</div></td>
<td scope="col"><div align="center">zzzzz</div></td>
</tr>
</table>

















qqqqqqqqqqqqqqqqqqqqqqqqqq
qq
aa
zz
xxxxx
vvvvv
wwwww
rrrrr
ffffff
hhhhh


script nya
<table border="1" style="margin-left: auto; margin-right: auto; text-align: left; width: 200px;"><tbody>

<tr> <th colspan="3" scope="col"><div align="center">qqqqqqqqqqqqqqqqqqqqqqqqqq
</div></th> </tr>
<tr> <td><div align="center"><strong>qq</strong></div></td>
<td><div align="center"><strong>aa</strong></div></td>
<td><div align="center"><strong>zz</strong></div></td>
</tr>
<tr> <td><div align="center">xxxxx</div></td>
<td><div align="center">vvvvv</div></td>
<td><div align="center">wwwww</div></td>
</tr>
<tr> <td><div align="center">rrrrr</div></td>
<td><div align="center">ffffff</div></td>
<td><div align="center">hhhhh</div></td>
</tr>
</tbody></table>



ket :
colspan="3" artinya baris pertama lebarnya 3 kolom














hakingfacebookzynga
pokerhackingemail

scripnya
<table width="0" border="5">
<tr>
<td>haking</td>
<td>facebook</td>
<td>zynga</td>
</tr>
<tr>
<td>poker</td>
<td>hacking</td>
<td>email</td>
</tr>
</table>













warnawarnawarna
warnawarnawarna

script nya
<table width="0" border="1" bordercolor="#00FF00">
<tr>
<td>warna</td>
<td>warna</td>
<td>warna</td>
</tr>
<tr>
<td>warna</td>
<td>warna</td>
<td>warna</td>
</tr>
</table>








background berwana
background berwana
background berwana

script
<table width="0" border="1">
<tr>
<td bgcolor="#00FF00"><div align="center">background berwana</div></td>
<td bgcolor="#FF0000"><div align="center">background berwana</div></td>
<td bgcolor="#00FFFF"><div align="center">background berwana</div></td>
</tr>
</table>

Tidak ada komentar:

Posting Komentar