Pages

Kamis, 20 Januari 2011

LATIHAN MEMBUAT TABEL

INI ADALAH SCRIPT UNTUK MEMBUAT TABEL
<table border="1" height="300" style="width: 400px;">
    <tbody>
<tr>
        <td align="center" colspan="2" height="50" width="400"><span style="color: black; font-family: Comic Sans MS;">Budi 1</span></td>
    </tr>
<tr>
        <td align="center" height="250" width="50"><span style="color: black; font-family: Comic Sans MS;">Budi 2</span></td>
        <td align="center" height="250" width="350"><span style="color: black; font-family: Comic Sans MS;">Budi 3</span></td>
    </tr>
</tbody></table>


Budi 1
Budi 2 Budi 3



<table border="1" height="100%">
    <tbody>
<tr>
        <td align="center" height="100%" rowspan="2" width="20%"><span style="color: black; font-family: Comic Sans MS;">Budi 1</span></td>
        <td align="center" height="20%" width="80%"><span style="color: black; font-family: Comic Sans MS;">Budi 2</span></td>
    </tr>
<tr>
        <td align="center" height="80%" width="80%"><span style="color: black; font-family: Comic Sans MS;">Budi 3</span></td>
    </tr>
</tbody></table>
Budi 1 Budi 2
Budi 3



<table border="1" height="300">
    <tbody>
<tr>
        <td align="center" colspan="3" height="50" width="100%"><span style="color: black; font-family: Comic Sans MS;">Budi 1</span></td>
    </tr>
<tr>
        <td align="center" height="200" width="20%"><span style="color: black; font-family: Comic Sans MS;">Budi 2</span></td>
        <td align="center" height="200" width="60%"><span style="color: black; font-family: Comic Sans MS;">Budi 3</span></td>
        <td align="center" height="200" width="20%"><span style="color: black; font-family: Comic Sans MS;">Budi 4</span></td>
    </tr>
<tr>
        <td align="center" colspan="3" height="50" width="100%"><span style="color: black; font-family: Comic Sans MS;">Budi 5</span></td>
    </tr>
</tbody></table>
Budi 1
Budi 2 Budi 3 Budi 4
Budi 5



<table border="1" height="400&quot;">
    <tbody>
<tr>
        <td align="center" colspan="2" height="20%" width="70%"><span style="color: black; font-family: Comic Sans MS;">Budi 1</span></td>
        <td "="" align="center" height="200" rowspan="2" width="30%"><span style="color: black; font-family: Comic Sans MS;">Budi 2</span></td>
    </tr>
<tr>
        <td align="center" height="80%" rowspan="2" width="35%"><span style="color: black; font-family: Comic Sans MS;">Budi 3</span></td>
        <td align="center" height="40%" width="35%"><span style="color: black; font-family: Comic Sans MS;">Budi 4</span></td>
    </tr>
<tr>
        <td align="center" height="200" width="35%"><span style="color: black; font-family: Comic Sans MS;">Budi 5</span></td>
        <td align="center" height="200" width="30%"><span style="color: black; font-family: Comic Sans MS;">Budi 6</span></td>
    </tr>
</tbody></table>
Budi 1 Budi 2
Budi 3 Budi 4
Budi 5 Budi 6

4 komentar:

Aby mengatakan...

yes, aby bisa nih
ditunggu latihan selanjutnya sob :D

I4m m4il mengatakan...

hahahahahahah

Aby Tukang Download mengatakan...

latihan yang lain lagi donk bud
hehe
buat buat apa kek
asal jangan buat baby aja
belum siap aku
wkwkwkwkwk

budy mengatakan...

ahhahah oke aby :)
makasi udh coment ya :D

Posting Komentar


Mau punya buku tamu seperti ini?
Klik di sini (Info Blog)