Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML HTML Tables Table Basics The Table Header Cell Element

Peter Huang
Peter Huang
3,590 Points

do web developers even use tables?

It seems like tables are really easy to learn and im surprised it's not taught earlier in front end stages on tree house.

But my main question is, do web developers even use tables? It seems like CSS, grid and flexbox can get these done.

1 Answer

Steven Parker
Steven Parker
218,596 Points

You're exactly right. Long ago, tables were the only choice available and were used extensively. But newer and more flexible CSS developments including flexbox and grid have become the techniques of choice for layout. They also help maintain the "separation of concerns" developmental model where HTML handles content, CSS handles presentation, and JavaScript handles functionality.

And yes, tables still do get used now and then; but mainly for special circumstances such as dealing with browser compatibility issues and code generators. Just consider them one more tool in your toolbox.