Advertisement
Felanpro

Table example

May 6th, 2016
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.49 KB | None | 0 0
  1. <table style="width:100%">
  2.         <tr>
  3.         <td>1st</td>
  4.         <td>2nd</td>
  5.         <td>3rd</td>
  6.         </tr>
  7.        
  8.         <tr>
  9.         <td>Michael Morgan</td>
  10.         <td>Jack Ferguesson</td>
  11.         <td>Mohammed Ali</td>
  12.         </tr>
  13.     </table>
  14. <--! EXAMPLE -->
  15. Example explained:
  16.  
  17. Tables are defined with the <table> tag.
  18.  
  19. Tables are divided into table rows with the <tr> tag.
  20.  
  21. Table rows are divided into table data with the <td> tag.
  22.  
  23. A table row can also be divided into table headings with the <th> tag.
  24. <!-- EXAMPLE END -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement