Kamis, 08 September 2016

tugas tabel 2 benua

<html>
<head>
<title>Tabel dengan Colspan</title>
</head>
<body>
<table width="500" border="1" >
    <th scope="col">Benua</th>
    <th colspan="2" scope="col">Eropa </th>
    <th colspan="4" scope="col">Asia </th>
  </tr>
  <tr>
    <td>Negara </td>
    <td>Belanda </td>
    <td>Italia </td>
    <td>Indonesia </td>
    <td>India </td>
</table>
</body>
</html>

dokumen html tabel benua

<html>
<head>
<title>Tabel Dengan Rowspan </title>
</head>
<body>
<table width ="500" border ="1">
<tr>
<th scope ="col">Benua </th>
<th scope ="col">Eropa </th>
</tr>
<tr>
<td rowspan ="4">Negara </td>
<td>Arab saudi </td>
</tr>
<tr>
<td>India</td>
</tr>
<tr>
 <td>Indoensia </td>
</tr>
<tr>
 <td>Singapura </td>
</tr>
<td rowspan ="4"> Eropa </td>
<td>Belanda </td>
</tr>
<tr>
<td>Italia</td>
</tr>
<tr>
 <td>Inggris </td>
</tr>
<tr>
 <td>Jerman </td>
</tr>
</table>
</body>  
</html>

tabel dengan colspan

<html>
<head>
<title>dengan rowspan</title>
</head>
<body>
<table width="500" border="1">
  <tr>
   <th scope="col">namaperumahan </th>
   <th scope="col">tipe / luas tanah
  (m<sup>2</sup>) </th>
</tr>
<tr>
  <td rowspan="4">griya indah permai </td>
  <td>21 / 60 </td>
</tr>
<tr>
  <td>36 / 90 </td>
</tr>
<tr>
  <td>45 / 120 </td>
</tr>
<tr>
</table>
</body>
</html>      
 

tabel dengan rowspan

<html>
<head>
<title>dengan rowspan</title>
</head>
<body>
<table width="500" border="1">
  <tr>
   <th scope="col">namaperumahan </th>
   <th scope="col">tipe / luas tanah
  (m<sup>2</sup>) </th>
</tr>
<tr>
  <td rowspan="4">griya indah permai </td>
  <td>21 / 60 </td>
</tr>
<tr>
  <td>36 / 90 </td>
</tr>
<tr>
  <td>45 / 120 </td>
</tr>
<tr>
</table>
</body>
</html>      

Senin, 05 September 2016

tugas pembuatan tabel 2

<html>
<head>
<tittle>penggunaan ALIGN</tittle>
</head>
<body>
<table border="1">
<caption>Daftar wiraniaga</caption>
<tr>
   <th colspan ="2" rowspan ="2">WIRANIAGA</th>
   <th colspan ="3">KOTA</th>
</tr>
<tr>
   <th>SEMARANG</th>
   <th>Kudus</th><th>Solo</th>
<tr>
<tr>
   <th rowspan ="2">Jenis Kelamin</th>
   <th>Pria</yh>
   <th align= "right">30</td>
   <td align= "right">20</td>
   <td align= "right">30</td>
</tr>
<tr>
   <th>wanita</th>
   <td align= "right">20</td>
   <td align= "right">8</td>
   <td align= "right">18</td>
</tr>


</table>
</body>
</html>

Kamis, 01 September 2016

tugas pembuatan tabel 1

<html>
<head>
<title>TABLE</table>
</head>
<body>
berikut contoh table dengan rowspan dan clospan
<table width=728px border=2cellespacing=0 cellpadding=0>
<tr bgcolor=blue>
<td>baris 1 kolom 1</td>
<td>baris 1 kolom 2</td>
</tr>
<tr bgcolor=yellow>
<td colspan=2>baris 2 kolom 1</td>
</tr>
<tr bgcolor=red>
<td rowspan=2>baris 3 kolom 1</td>
</tr>
</table>
</body>
</html>

tugas tabel html

<html>
<head>
<title>membuat dokumen table</title>
</head>
<body>
<table border=1 bgcolor=blue>
   <tr bgcolor=blue>
<td>data baris 1 kolom 1</td>
<td>data baris 1 kolom 2</td>
<td>data baris 1 kolom 3</td>
   </tr>
   <tr bgcolor=blue>
<td>data baris 2 kolom 1</td>
<td>data baris 2 kolom 2</td>
<td>data baris 2 kolom 3</td>
   </tr>
   <tr bgcolor=blue>
<td>data baris 3 kolom 1</td>
<td>data baris 3 kolom 2</td>
<td>data baris 3 kolom 3</td>
   </tr>
</table>
</body>
</html>