Table in HTML or Grig in CSS

Hey, a beginner here. Im just wondering if html-s table tag is still good for something, in the age of CSS, grids, and others(bootsrap)?

Tables are good for showing data in a tabular layout. Various JS toolkits can even make those searchable and sortable. In ye olden tymes before we had CSS, we had to use tables for layout, but those days are long behind us. Now we have all kinds of CSS tools like grids and flexbox, plus toolkits like bootstrap.

Shorter: Tables are for data. Do all your layout in CSS, don’t use tables for that.

1 Like