xhtml_sample_tables.xml 772 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?xml version="1.0"?>
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3. <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  4. <title>Test document</title>
  5. </head>
  6. <body>
  7. <table>
  8. <tr>
  9. <td>cell 1.1</td>
  10. <td>cell 1.2</td>
  11. </tr>
  12. <tr>
  13. <td>cell 2.1</td>
  14. <td>cell 2.2</td>
  15. </tr>
  16. </table>
  17. <table>
  18. <caption>Complex table</caption>
  19. <thead>
  20. <tr>
  21. <th>header 1</th>
  22. <th>header 2</th>
  23. </tr>
  24. </thead>
  25. <tbody>
  26. <tr>
  27. <td colspan="2">cell 1.1</td><td>cell 2.1</td>
  28. </tr>
  29. <tr>
  30. <td>cell 1.2</td>
  31. </tr>
  32. <tr>
  33. <td rowspan="2">cell 1.3</td>
  34. </tr>
  35. <tr>
  36. <td>cell 1.4</td><td>cell 2.4</td>
  37. </tr>
  38. </tbody>
  39. </table>
  40. </body>
  41. </html>