Advertisement
MrsMcLead

tables

Jan 17th, 2014
497
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.81 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>
  4. Tables Webpage
  5. </title>
  6. </head>
  7. <body>
  8.  
  9. <h1> Tables </h1>
  10. <!-- the tag below includes a "summary". You can easily write
  11. html without it, but it's nice for visually impaired people who
  12. want to use your site. -->
  13.  
  14. <p>
  15. Let's make a table!
  16. </p>
  17. <table summary = "Here's my table. There is STUFF in it!">
  18. <caption> "I am a caption. I'm not actually IN the table."</caption>
  19. <tr>
  20.     <td></td>
  21.     <th scope = "col"> Column 1 </th>
  22.     <th scope = "col"> Column 2 </th>
  23.     <th scope = "col"> Column 3 </th>
  24.     <th scope = "col"> Column 4 </th>
  25. <tr>
  26. <th scope "row">I am a row heading.</th>
  27.     <td>Row,</td>
  28.     <td>row,</td>
  29.     <td>row</td>
  30.     <td>your boat</td>
  31. </tr>
  32. <tr>
  33. <th scope "row">Me,too!.</th>
  34.     <td>gently</td>
  35.     <td>down</td>
  36.     <td>the</td>
  37.     <td>stream.</td>
  38. </tr>
  39. </table>   
  40. </body>
  41. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement