HTML Tables

HTML Tables: Find Out When To Use Them (And When To Avoid)

Using Tables

Table Code Sample: Simple Table

Table Code Sample: Complex Table

About Table-Based Layout

It was common in the early days of the web to use tables as a layout device. Before the advent of modern standards-based browsers, this was the easiest way to make sure that page elements were arranged properly on the screen.

This design pattern is now considered very bad. It is bad for the user experience, bad for SEO, and bad for developers who have to maintain pages.

You should not use table-based layout under any circumstances. Instead, check out our CSS Tutorials to start learning about modern web site layout.

However, that doesn’t mean you should avoid tables — tables should be used whenever you need to present information in a tabular format.

My Latest Posts

• • •

    • • •

    Design a site like this with WordPress.com
    Get started