Friday, 13 September 2013

Table with a caption


Monthly savings
Month Savings
January $100
February $50
copy the below code for above result.
<!DOCTYPE html>
<html>
<body>

<table border="1">
  <caption>Monthly savings</caption>
  <tr>
    <th>Month</th>
    <th>Savings</th>
  </tr>
  <tr>
    <td>January</td>
    <td>$100</td>
  </tr>
  <tr>
    <td>February</td>
    <td>$50</td>
  </tr>
</table>

</body>
</html>

No comments :

Post a Comment