8
0

table.html 715 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <style>
  2. body {
  3. font-family: Helvetica, Arial, sans-serif;
  4. font-size: 14px;
  5. }
  6. </style>
  7. <div id="editor">
  8. <p>Table with block contents:</p>
  9. <table>
  10. <thead>
  11. <tr>
  12. <th>what</th>
  13. <th>example</th>
  14. </tr>
  15. </thead>
  16. <tbody>
  17. <tr>
  18. <td>text</td>
  19. <td>Foo</td>
  20. </tr>
  21. <tr>
  22. <td>paragraph</td>
  23. <td><p>Foo</p></td>
  24. </tr>
  25. <tr>
  26. <td>list</td>
  27. <td>
  28. <ul>
  29. <li>foo</li>
  30. <li>bar</li>
  31. </ul>
  32. </td>
  33. </tr>
  34. <tr>
  35. <td>heading</td>
  36. <td>
  37. <h1>a h1</h1>
  38. <h2>a h2</h2>
  39. <h3>a h3</h3>
  40. <h4>a h4</h4>
  41. <h5>a h5</h5>
  42. </td>
  43. </tr>
  44. <tr>
  45. <td>block quote</td>
  46. <td>
  47. <blockquote>a quote</blockquote>
  48. </td>
  49. </tr>
  50. </tbody>
  51. </table>
  52. </div>