HMTL Data Tables in emails are important for notification’s and other places to display information cleanly. Since only in-line CSS is rendered properly across all email clients its imperative that HTML data table has a proper markup to render it cleanly. So, here is a small code snippet for an HTML data table that renders beautifully in emails.
The above code snippet generates an HTML data table email something like this
This code snippet can be hooked in your existing HTML email template or can be used as it is.