You are on page 1of 6

Practical 1a

Table tag
Source code :
<html>
<body>
<table border="1" , style= "width:100%">

<tr>
<th colspan="2">subscriber's Name and address</th>
<th colspan="2">consumer no.</th>
<th colspan="3">p.o.stamp</th>
</tr>

<tr>
<td colspan="2">ABC, 20-cross Rd.<br> off turner rd</td>
<td colspan="2">PL0057077</td>
<td></td>
<td></td>
<td></td>
</tr>

<tr>
<th>telephone no.</th>
<th>type</th>
<th colspan="2">bill date</th>
<th colspan="2">due date</th>
<th>pay by date</th>
</tr>

<tr>
<td>575077</td>
<td>gen res permanent</td>
<td colspan="2">9-aug-2001</td>
<td colspan="2"s>16-aug-2001</td>
<td>25-aug-2001</td>
</tr>

<tr>
<th>opening meter reading</th>
<th>closing meter reading</th>
<th>metered calls</th>
<th>debit calls</th>
<th>credit calls</th>
<th>free calls</th>
<th>chargable calls</th>
</tr>

<tr>
<td>1052</td>
<td>1247</td>
<td>245</td>
<td>0</td>
<td>0</td>
<td>150</td>
<td>95</td>
</tr>

<tr>
<th colspan="4">details</th>
<th>item</th>
<th>period</th>
<th>amount</th>
</tr>

<tr>
<th>rate</tdh>
<th>no. of calls</th>
<th colspan="2">charge</th>
<th>rent</th>
<td>10-9-97 to 31-10-97</td>
<td>200.00</td>
</tr>

<tr>
<td>0.80</td>
<td>95</td>
<td colspan=2>76</td>
<th>item</th>
<td>16-5-97 tp 15-7-97</td>
<td>76.00</td>
<tr>
<tr>
<th colspan="2">surcharge after pay-by date</th>
<td colspan="2">10</td>
<th>tkp/pg calls</th>
<td>16-5-97 to 15-7-97</td>
<td>0.00</td>
</tr>

<tr>
<th colspan="2">amt. on/before pay-by date</th>
<td colspan="2">290</td>
<th>itx calls</th>
<td>16-5-97 to 15-7-97</td>
<td>0.00</td>
</tr>

<tr>
<th colspan="2">amt.after pay-by date</th>
<td colspan="2">300</td>
<th>misl</th>
<td>tax</td>
<td>14.00</td>
</tr>

<tr>
<td colspan="4"></td>
<th colspan="2">total</th>
<td>290</td>
</tr>

<tr>
<td colspan="4"></td>
<th colspan="2">address</th>
<td></td>
</tr>

<tr>
<td colspan="4"></td>
<td colspan="3">please pay before due date abd avoid disconnection</td>
</tr>

<tr>
<td colspan="4">e and o/e please overleaf for codes and instructions</td>
<td colspan="4">accounts officer</td>
</tr>

</table>
</body>
</html>
Output :

You might also like