A basic HTML email
Emails still use tables and inline styles.
HTML · A basic HTML emailIntermediate
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background:#f3f4f6;padding:24px 0">
<tr>
<td align="center">
<table role="presentation" width="600" cellpadding="0" cellspacing="0" style="background:#ffffff;border-radius:8px">
<tr><td style="padding:24px;font-family:Arial,sans-serif;font-size:16px;color:#111827">
<h1 style="margin:0 0 12px;font-size:22px">Welcome!</h1>
<p style="margin:0 0 16px">Thanks for joining us.</p>
<a href="https://example.com/start" style="display:inline-block;padding:12px 20px;background:#2563eb;color:#ffffff;text-decoration:none;border-radius:6px">Get started</a>
</td></tr>
</table>
</td>
</tr>
</table>emailtableinline csstemplate