Email Coding 101, Module 5 of 5. Tables are the past and divs are the future: see the support data, and how kinetic.email embraces modern code.
A div is a simple container you can style however you want. On the web, divs replaced tables for layout over 20 years ago. The module compares a heading and paragraph built both ways: the table version needs a table, row, and cell with layout attributes; the div version produces the same result with one styled container. Div-based code is simpler, faster to write, easier to maintain, and more accessible. The only problem is that Outlook on Windows does not support it.
Using data inspired by caniemail.com and Litmus market share, the module charts CSS support across Apple Mail, Gmail, Outlook on Windows, Outlook 365, Yahoo Mail, and Samsung Mail for display: flex, display: grid, max-width, border-radius, div layout, background-image, media queries, and table layout. The pattern: Outlook on Windows is almost always the holdout.
Microsoft is retiring the classic Outlook for Windows app, the one that uses the Word rendering engine. By the end of 2026 it will be replaced by the New Outlook, which uses a modern web-based rendering engine. Once the classic app is retired, the main reason for tables, MSO conditionals, and inline styles starts to fade, though enterprise organizations tend to update slowly.
caniemail.com is the email developer's equivalent of Can I Use. Before using any CSS property in email, look it up to see which clients support it.
Email coding is harder than web coding because of fragmented client support, not a lack of skill. You now know why tables exist, why MSO conditionals are necessary, and why email is shifting toward div-based code.