Penggunaan Rowspan pada HTML


Pada HTML terdapat banyak sintaks yang sangat sering digunakan. di antaranya adalah Rowspan yaitu sintaks dimana kita dapat menggabungkan beberapa baris dari kolom menjadi 1 bagian...
untuk membuat halaman HTML seperti gambar di atas dapat di tuliskan sintaks berikut ini :

<html>
    <head>
        <title>Kelompok 2 / No.4</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body bgcolor="yellow">
        <h1 align="center">kelompok 2</h1>
        <table border="3" bgcolor="white" align="center">
            <caption align="top">
                <b> macam-macam warna </b>
            </caption>
            <tr bgcolor="white">
                <td bgcolor="blue" width="80" height="30" align="center">biru</td>
                <td rowspan="4" width="80" height="30" align="center"><b> WARNA </b></td>

                <td bgcolor="cyan" align="center" width="80" height="30">biru muda</td>
            </tr>
            <tr>
                <td bgcolor="green" width="80" height="30">hijau</td>
                <td bgcolor="red" align="left"width="80" height="30">merah</td>
            </tr>
            <tr>
                <td bgcolor="grey" width="80" height="30">abu-abu</td>
                <td bgcolor="orange" align="left"width="80" height="30">orange</td>
            </tr>
            <tr>
                <td bgcolor="brown" width="80" height="30">cokelat</td>
                <td bgcolor="pink" align="left" width="80" height="30">merah muda</td>
            </tr>
        </table>
    </body>
</html>

1 komentar:

Blogger mengatakan...

Easy "water hack" burns 2 lbs OVERNIGHT

More than 160 thousand men and women are using a easy and secret "liquids hack" to burn 2 lbs each and every night as they sleep.

It's simple and it works every time.

This is how to do it yourself:

1) Go grab a glass and fill it with water half the way

2) Then do this weight losing hack

and become 2 lbs lighter the next day!

Posting Komentar