Thursday, 17 April 2014

CONTOH SCRIP TABLE HTML

















<html>
<head>
<title>
colspan and rowspan
</title>
</head>
<body>
<table border="2" width="60%" height="100%">
<tr>
<td align="center" colspan="8">header</td>
</tr>
<tr>
<td colspan="4">1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
</tr>
<tr>
<td rowspan="2">6</td>
<td rowspan="2">7</td>
<td colspan="4">8</td>
<td>9</td>
<td>10</td>
</tr>
<tr>
<td colspan="4">11</td>
<td>12</td>
<td>13</td>
</tr>
<tr>
<td colspan="2">14</td>
<td>15</td>
<td rowspan="2">16</td>
<td rowspan="2">17</td>
<td rowspan="2">18</td>
<td>19</td>
<td rowspan="2">20</td>
</tr>
<tr>
<td colspan="2">21</td>
<td>22</td>
<td>23</td>
</tr>
</table>
</body>
</html>

0 comments:

Post a Comment