2.5 #permalink Tables

Toggle example guides Toggle HTML markup

Handles display of tabular data. Should only be used when a table is the appropriate visual element and never for layout.

Example
Employee Apples Oranges
Alice 10 0
Bob 0 10
Markup
<table>
   <tr>
      <th>Employee</th>
      <th>Apples</th>
      <th>Oranges</th>
   </tr>
   <tr>
      <td>Alice</td>
      <td>10</td>
      <td>0</td>
   </tr>
   <tr>
      <td>Bob</td>
      <td>0</td>
      <td>10</td>
   </tr>
</table>
Source: base/tables.less, line 4