Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it true that newsletters in HTML should have a "table-based" layouts?

I read somewhere that when creating a HTML email, you should use the table-based layout. You should not care about creating tableless css based layout. Is that true? I have to create a newsletter layout for my company, but I dont feel confortable writing 3 nested tables.

like image 474
Michael Avatar asked May 15 '09 11:05

Michael


People also ask

Should I use tables for layout HTML?

HTML tables were originally intended to be used for presenting tabular data, not for layout. The World Wide Web Consortium (W3C®) discourages use of tables for layout because they are striving for a web in which content and structure are completely separate from presentation.

Why table based layouts should not be used?

1) Tables shouldn't be used for page layouts because they are: Slow to render as the browser needs to download most - if not all - of the table to render it properly. They require more HTML than non-table layouts which means slower loading and rendering, as well as an increased bandwidth usage.

Should you use tables for email?

So, you can code some of your emails using modern CSS. But if you need to support most versions of Microsoft Outlook, you'll need to use some form of tables, too, if you want your email to look reasonably good. The one exception to this rule is if you're using plain text emails, which don't use HTML and CSS at all.

Why do HTML emails use tables?

As different email service providers have different policy to HTML emails and CSS, it is safer to use HTML table as layout in emails, as CSS (even with inline CSS) may be blocked / filtered, or even worse, half-blocked.


1 Answers

If you want your HTML-email to look good in most email clients, you should write your HTML as it still was 1999 :)

like image 90
mthurlin Avatar answered Oct 21 '22 10:10

mthurlin