basic-html-table-001

HTML table with every table element

WeasyPrint

This browser

Flags
HTMLonly
Assertion
HTML table elements are supported.

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3     <head>
 4         <title>CSS Test: HTML table with every table element</title>
 5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
 6         <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#table-display">
 7         <link rel="help" href="http://www.w3.org/TR/REC-html40/struct/tables.html#h-11.2">
 8         <meta name="flags" content="HTMLonly">
 9         <meta name="assert" content="HTML table elements are supported.">
10         <style type="text/css">
11             caption, td, th
12             {
13                 background: black;
14             }
15         </style>
16     </head>
17     <body>
18         <p>Test passes if there is a solid bar on top of a three-by-three grid of boxes below.</p>
19         <table border="1">
20             <caption>X</caption>
21             <colgroup>
22                 <col>
23                 <col>
24             </colgroup>
25             <colgroup>
26                 <col>
27             </colgroup>
28             <thead>
29                 <tr>
30                     <th>XXXXX</th>
31                     <th>XXXXX</th>
32                     <th>XXXXX</th>
33                 </tr>
34             </thead>
35             <tfoot>
36                 <tr>
37                     <td>XXXXX</td>
38                     <td>XXXXX</td>
39                     <td>XXXXX</td>
40                 </tr>
41             </tfoot>
42             <tbody>
43                 <tr>
44                     <td>XXXXX</td>
45                     <td>XXXXX</td>
46                     <td>XXXXX</td>
47                 </tr>
48             </tbody>
49         </table>
50     </body>
51 </html>