Back to templates
HTML email signature
A table-based, inline-styled email signature built to survive Gmail, Outlook, and Apple Mail.
Source code
1 lines · 1.2 KB<style>*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,sans-serif;background:#f6f7fb;color:#172033}button,a{font:inherit}.wrap{width:min(960px,calc(100% - 32px));margin:auto}</style><style>main{min-height:100vh;display:grid;place-items:center;padding:24px}.wrap-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:28px}</style><main><div class="wrap-card"><table cellpadding="0" cellspacing="0" border="0" style="font-family:Arial,Helvetica,sans-serif;color:#1e293b;font-size:14px;line-height:1.5"><tr><td style="padding-right:16px;border-right:3px solid #4f46e5;vertical-align:top"><div style="width:52px;height:52px;border-radius:12px;background:#4f46e5;color:#fff;font-weight:700;font-size:18px;text-align:center;line-height:52px">MK</div></td><td style="padding-left:16px;vertical-align:top"><div style="font-size:16px;font-weight:700;color:#0f172a">Maya Kim</div><div style="color:#475569;margin-bottom:6px">Product Lead · ShowYourCode</div><div><a href="mailto:maya@example.test" style="color:#4f46e5;text-decoration:none">maya@example.test</a> · <a href="https://showyourcode.app" style="color:#4f46e5;text-decoration:none">showyourcode.app</a></div></td></tr></table></div></main>When this template fits
An HTML email signature built with table layout and inline CSS so spacing, colors, and links render reliably across Gmail, Outlook, and Apple Mail.
How the layout works
A two-cell borderless table pairs an avatar badge with stacked name, role, and contact links without relying on Flexbox or external stylesheets.
What to customize
Replace initials or swap in a small absolute HTTPS logo image with explicit width/height and alt text, and test dark-mode readability.
Review before publishing
Paste the rendered output into Gmail or Apple Mail signature settings and send a test message to both desktop and mobile clients.
Keep building with context
Compare a related pattern or read a practical guide before adapting this example in the Playground.