summaryrefslogtreecommitdiff
path: root/test/html/render/table-thead-tfoot-open-tag.html
blob: 0a71215f6bde78927cb4f8c89a304c7f7f4468e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<html>
  <head>
    <title>Test thead, tbody and tfoot</title>
    <style>
      thead {color: green;}
      tbody {color: blue;}
      tfoot {color: red;}

      table, th, td {
        border: 1px solid black;
      }
    </style>
  </head>
  <body>
    <table>
      <thead>
        <tr>
          <th>Month</th>
          <th>Savings
      <tbody>
        <tr>
          <td>January
          <td>$100
        <tr>
          <td>February
          <td>$80
      <tfoot>
        <tr>
          <td>Sum
          <td>$180
      </tfoot>
    </table> 
  </body>
</html>