| <p>Simple header</p> |
| |
| <table> |
| <thead> |
| <tr> |
| <th>cell1</th> |
| <th>cell2</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td>cell3</td> |
| <td>cell4</td> |
| </tr> |
| </tbody> |
| </table> |
| |
| <p>Full header</p> |
| |
| <table> |
| <thead> |
| <tr> |
| <th>cell1</th> |
| <th>cell2</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td>cell3</td> |
| <td>cell4</td> |
| </tr> |
| </tbody> |
| </table> |
| |
| <p>With alignment and superfluous alignment defs</p> |
| |
| <table> |
| <thead> |
| <tr> |
| <th>default</th> |
| <th style="text-align: left">left</th> |
| <th style="text-align: center">center</th> |
| <th style="text-align: right">right</th> |
| <th>default</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td>cell1</td> |
| <td style="text-align: left">cell2</td> |
| <td style="text-align: center">cell3</td> |
| <td style="text-align: right">cell4</td> |
| <td>cell5</td> |
| </tr> |
| </tbody> |
| </table> |
| |
| <p>With leading sep line</p> |
| |
| <table> |
| <thead> |
| <tr> |
| <th>cell1</th> |
| <th>cell2</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td>cell3</td> |
| <td>cell4</td> |
| </tr> |
| </tbody> |
| </table> |
| |
| <p>Multiple bodies</p> |
| |
| <table> |
| <thead> |
| <tr> |
| <th style="text-align: center">cell1</th> |
| <th>cell2</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td style="text-align: center">cell3</td> |
| <td>cell4</td> |
| </tr> |
| </tbody> |
| <tbody> |
| <tr> |
| <td style="text-align: center">cell5</td> |
| <td>cell6</td> |
| </tr> |
| </tbody> |
| </table> |
| |
| <p>Sep line with tab</p> |
| |
| <table> |
| <thead> |
| <tr> |
| <th style="text-align: right">right</th> |
| <th style="text-align: center">center</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td style="text-align: right">cell1</td> |
| <td style="text-align: center">cell2</td> |
| </tr> |
| <tr> |
| <td style="text-align: right">cell3</td> |
| <td style="text-align: center">cell4</td> |
| </tr> |
| </tbody> |
| </table> |