DEV Community

Discussion on: When do you use a table in HTML vs more "modern" approaches?

Collapse
 
pontakornth profile image
Pontakorn Paesaeng

I use table element to create a table. If it is not a table, I don't use it. If what I am going to display has data on fixed location, header, and can be easily expressed as a table. I use table tag for it. By the way, table is not suitable for small devices. I would change to card based display instead.