Skip to main content
Emailens
HTML & Email Structure

doctype

CSS property · 13 supported, 0 partial, 7 unsupported across 21 clients

13 of 21 email clients render doctype fully (Oct 14, 2026 data); it breaks outright in Outlook Classic, Yahoo Mail Android, Samsung Mail and 4 more.

  • 4/7 webmail, 3/6 desktop, 6/8 mobile clients support doctype fully.
  • Unsupported in Outlook Classic, Yahoo Mail Android, Samsung Mail, Thunderbird and 3 more.
  • Outlook Classic (Word engine, supported to at least 2029) does not fully support doctype, one of the few features its replacement actually fixes; see the deprecation diff.
  • Across all clients, only 6 of 298 tracked HTML/CSS features render identically everywhere.

Source: caniemail.com (MIT), via the Emailens engine. Last tested upstream Jul 25, 2019, synced by Emailens Oct 14, 2026.

Client Support

ClientCategoryEngineSupport
GmailwebmailGmail WebSupported
Gmail AndroidmobileGmail MobileSupported
Gmail iOSmobileGmail MobileSupported
Outlook 365webmailOutlook WebSupported
Outlook (New)desktopOutlook WebSupported
Outlook ClassicdesktopMicrosoft WordUnsupportedSee caveat 1
Outlook iOSmobileOutlook MobileSupported
Outlook AndroidmobileOutlook MobileSupported
Outlook for MacdesktopWebKitSupported
Apple MaildesktopWebKitSupported
Apple Mail iOSmobileWebKitSupported
Yahoo MailwebmailYahooSupported
Yahoo Mail AndroidmobileYahooUnsupported
Yahoo Mail iOSmobileYahooSupported
Samsung MailmobileSamsungUnsupported
ThunderbirddesktopGeckoUnsupportedSee caveat 2
HEY MailwebmailWebKitUnsupported
Proton MailwebmailProtonUnsupported
AOL MailwebmailAOLUnsupported
FastmailwebmailFastmailSupported
SuperhumandesktopBlinkUnknown

Documented caveats (2)

  1. 1.Outlook Classic: Not supported. The HTML5 doctype has no impact here.
  2. 2.Thunderbird: Buggy. Renders as if there was no doctype with an Outlook email, and in HTML5 otherwise.

Caveats recorded by caniemail.com (MIT) and carried verbatim, one entry per wording rather than per client.

Client-by-client behaviour for doctype

Fully supports doctype (13): Gmail, Gmail Android, Gmail iOS, Outlook 365, Outlook (New), Outlook iOS, Outlook Android, Outlook for Mac, Apple Mail, Apple Mail iOS, Yahoo Mail, Yahoo Mail iOS, Fastmail.

No support (7): Outlook Classic, Yahoo Mail Android, Samsung Mail, Thunderbird, HEY Mail, Proton Mail, AOL Mail. Plan fallbacks for these clients before relying on doctype in production sends.

Behaviour unverified in: Superhuman.

Fixes & Workarounds

Outlook Classic

Unsupported

"doctype" is not supported in this email client.

Yahoo Mail Android

Unsupported

"doctype" is not supported in this email client.

Samsung Mail

Unsupported

"doctype" is not supported in this email client.

Thunderbird

Unsupported

"doctype" is not supported in this email client.

HEY Mail

Unsupported

"doctype" is not supported in this email client.

Proton Mail

Unsupported

"doctype" is not supported in this email client.

AOL Mail

Unsupported

"doctype" is not supported in this email client.

Related Features

Check your own HTML for doctype

Paste your own, or run the sample below. Analyzed in this page, with no signup and nothing stored.

Zero-Friction Engine Preview

Test your doctype layout across 21 email clients

Preview rendering, catch CSS issues, and see how doctype displays across Outlook, Gmail, and Apple Mail. Free, no account needed.

Instant live preview · No signup required · 21 email engines

Last tested upstream: · Last synced by Emailens:

caniemail.com (MIT) records Jul 25, 2019 as the last time doctype was tested in a real client, 7 years before this sync. Syncing copies that result forward, it does not re-test it. Carried in @emailens/engine data v0.14.5.