diff options
Diffstat (limited to 'test/html/table-thead-tfoot.html')
-rw-r--r-- | test/html/table-thead-tfoot.html | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/test/html/table-thead-tfoot.html b/test/html/table-thead-tfoot.html new file mode 100644 index 00000000..66be2710 --- /dev/null +++ b/test/html/table-thead-tfoot.html @@ -0,0 +1,41 @@ +<!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</th> + </tr> + </thead> + <tbody> + <tr> + <td>January</td> + <td>$100</td> + </tr> + <tr> + <td>February</td> + <td>$80</td> + </tr> + </tbody> + <tfoot> + <tr> + <td>Sum</td> + <td>$180</td> + </tr> + </tfoot> + </table> + </body> +</html> |