Advertisement
makispaiktis

Codecademy - Example with rowspan attribute

Aug 13th, 2019 (edited)
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.35 KB | None | 0 0
  1. <table>
  2.   <tr> <!-- Row 1 -->
  3.     <th></th>
  4.     <th>Saturday</th>
  5.     <th>Sunday</th>
  6.   </tr>
  7.   <tr> <!-- Row 2 -->
  8.     <th>Morning</th>
  9.     <td rowspan="2">Work</td>
  10.     <td rowspan="3">Relax</td>
  11.   </tr>
  12.   <tr> <!-- Row 3 -->
  13.     <th>Afternoon</th>
  14.   </tr>
  15.   <tr> <!-- Row 4 -->
  16.     <th>Evening</th>
  17.     <td>Dinner</td>
  18.   </tr>
  19. </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement