• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 12. Working with Tables > Using the Example HTML File

Using the Example HTML File

The example you use in this chapter is a table that compares the effects of various down-payment sizes when purchasing a home. The example HTML file, downpayment.html, should already be available, if you downloaded and extracted the example files to your working folder. You can also type in the example file, if you wish (see Figure 12.1):

Listing 12.1. DOWNPAYMENT.HTML—Down-payment Size Effects

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>
<title>Down-Payment Size Effects</title>
<style type="text/css">

</style>
</head>
<body>

<table border="1">
<caption>Table I. Down-Payment Size Effects ($200,000 home at 8 percent interest)

<colgroup id="cgroup1">
    <col id="col1">
</colgroup>
<colgroup id="cgroup2">
    <col id="col2">
    <col id="col3">
    <col id="col4">
</colgroup>
<colgroup id="cgroup3">
    <col id="col5">
    <col id="col6">
    <col id="col7">
</colgroup>

<thead>
<tr>
<th>&nbsp;</th><th colspan="3">Monthly Payment<br>(principal & interest)</th><th colspan="3">Total Interest</th>
</tr>

<tr>
<th>Down-<br>Payment</th><th>20 Years</th><th>25 Years</th><th>30
Years</th><th>20 Years</th><th>25 Years</th><th>30 Years</th>
</tr>
</thead>

<tbody>
<tr>
<td>$0</td><td>$1,670</td><td>$1,540</td><td>$1,470</td><td>$201,100</td><td>$262
,800</td><td>$327,800</td>
</tr>

<tr>
<td>$10,000</td><td>$1,590</td><td>$1,470</td><td>$1,390</td><td>$191,110</td><td
>$249,700</td><td>$311,400</td>
</tr>

<tr>
<td>$20,000</td><td>$1,511</td><td>$1,390</td><td>$1,320</td><td>$181,100</td><td
>$236,500</td><td>$295,500</td>
</tr>

<tr>
<td>$30,000</td><td>$1,420</td><td>$1,310</td><td>$1,250</td><td>$170,900</td><td
>$223,400</td><td>$278,600</td>
</tr>

<tr>
<td>$40,000</td><td>$1,340</td><td>$1,240</td><td>$1,170</td><td>$160,900</td><td
>$210,800</td><td>$262,200</td>
</tr>

<tr>
<td>$50,000</td><td>$1,260</td><td>$1,160</td><td>$1,100</td><td>$150,800</td><td
>$197,100</td><td>$245,800</td>
</tr>
</tbody>

<tfoot>
<tr>
<td colspan="7">Note: The monthly payment is rounded off to the nearest $10; the
total interest payment is rounded off to the nearest $100.</td>
</tr>
</tfoot>

</table>

</body>
</html>


					  


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint