Guest User

Untitled

a guest
Feb 14th, 2020
96
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7. <title>Document</title>
  8. <style>
  9. td,th{
  10. border: 1px solid black;
  11.  
  12. }
  13. table{
  14. border-collapse: collapse;
  15. margin: 0 auto;
  16. }
  17. .up{
  18. border-top: none;
  19. }
  20. .bottom{
  21. border-bottom: none;
  22. }
  23. .twoside{
  24. border-bottom: none;
  25. border-right: none;
  26. }
  27. .container{
  28. width: 500px;
  29. text-align: center;
  30. }
  31.  
  32. </style>
  33. </head>
  34. <body>
  35. <div class="container">
  36. <h3>TP</h3>
  37. <h4>Table Practice</h4>
  38. <table>
  39. <tr>
  40. <th>Na</th>
  41. <th class="up">ac</th>
  42. <th>age</th>
  43. </tr>
  44. <tr>
  45. <td>ja</td>
  46. <td>12</td>
  47. <td>13</td>
  48. </tr>
  49. <tr>
  50. <td>sa</td>
  51. <td class="bottom">00</td>
  52. <td colspan="2" rowspan="2">00</td>
  53. </tr>
  54. <tr>
  55. <td>aa</td>
  56. <td class="up">34</td>
  57. </tr>
  58. <tr>
  59. <td colspan="2"></td>
  60. <td class="twoside">3241</td>
  61. </tr>
  62. </table>
  63. </div>
  64. </body>
  65. </html>
RAW Paste Data