November 23, 2024

A Short Guide to Using HTML Tables in the Modern Age

Author: Adi Purdila
Go to Source

Back in the day, web pages were built with tables. These were the cornerstone of any layout. Nowadays, we have so many different and much simpler ways of creating layouts: floats, flexbox, grid, and multicolumn. We don’t need tables for layout anymore, but that doesn’t mean they’re obsolete. Far from it—they have a very real and specific use: displaying data.

In this course, you’re going to learn why it’s still okay to use tables in modern times and the best ways of doing so. We’ll explore ways to make tables responsive, add pagination and sorting, and explore some best practices for accessibility.

Read more