Tuesday 17 July 2012

How to create Table with a caption using html


<!DOCTYPE html>
<html>
<body>

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

</body>
</html>

0 Responses to “How to create Table with a caption using html”

Post a Comment