Skip to the page
html email reference · inline styles

Inline styles in HTML email

type
attribute
applies to
any tag
screen reader effect
n/a
common values
style="padding: 16px; font-family: Arial, sans-serif;"

Where it goes

On every styled tag, individually — there is no cascade to lean on the way there is on the web.

Example

<td style="padding: 16px; font-family: Arial, sans-serif; color: #222;">
  Hello
</td>

Open this example in the editor →

Common mistakes

  • Relying on a <style> block for anything that must render everywhere — treat it as a bonus for capable clients, never as the only copy of an important style.
  • Assuming inline styles cascade like a stylesheet does — each tag needs its own full style="" attribute; nothing inherits down automatically the way it does in a browser.

Related

Updated 24 October 2026. Practice it in the html email route, or read more on MDN.