Milligram - Tables

HTML
<table> <thead> <tr> <th>Name</th> <th>Age</th> <th>Height</th> <th>Location</th> </tr> </thead> <tbody> <tr> <td>Stephen Curry</td> <td>27</td> <td>1,91</td> <td>Akron, OH</td> </tr> <tr> <td>Klay Thompson</td> <td>25</td> <td>2,01</td> <td>Los Angeles, CA</td> </tr> </tbody> </table> <!-- Prior to the creation of CSS, HTML <table> elements were often used as a method for page layout. This usage has been discouraged since HTML4, and the <table> element should not be used for layout purposes. -->
CSS
JAVASCRIPT
/* The Table element represents data in two dimensions or more. We encourage the use of proper formatting with `<thead>` and `<tbody>` to create a `<table>`. The code becomes cleaner without disturbing understanding. https://github.com/milligram/milligram https://milligram.github.io */
Expand for more options Login