Skip to main content
Emailens
Pseudo-Classes & Selectors

:lang

selector or pseudo-class · 6 supported, 0 partial, 11 unsupported across 21 clients

As of Sep 2, 2026, :lang fails or degrades in 15 of 21 email clients, treat it as progressive enhancement, never structure.

  • 1/7 webmail, 1/6 desktop, 4/8 mobile clients support :lang fully.
  • Unsupported in Gmail, Gmail Android, Gmail iOS, Outlook 365 and 7 more.
  • Outlook Classic (Word engine, supported to at least 2029) does not fully support :lang, and its replacement changes little here; 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 12, 2022, synced by Emailens Sep 2, 2026.

Client Support

ClientCategoryEngineSupport
GmailwebmailGmail WebUnsupported
Gmail AndroidmobileGmail MobileUnsupported
Gmail iOSmobileGmail MobileUnsupported
Outlook 365webmailOutlook WebUnsupported
Outlook (New)desktopOutlook WebUnsupported
Outlook ClassicdesktopMicrosoft WordUnsupported
Outlook iOSmobileOutlook MobileSupported
Outlook AndroidmobileOutlook MobileSupported
Outlook for MacdesktopWebKitUnsupported
Apple MaildesktopWebKitSupported
Apple Mail iOSmobileWebKitSupported
Yahoo MailwebmailYahooUnsupported
Yahoo Mail AndroidmobileYahooUnsupported
Yahoo Mail iOSmobileYahooUnsupported
Samsung MailmobileSamsungSupported
ThunderbirddesktopGeckoUnknown
HEY MailwebmailWebKitUnknown
Proton MailwebmailProtonSupported
AOL MailwebmailAOLUnsupported
FastmailwebmailFastmailUnknown
SuperhumandesktopBlinkUnknown

Client-by-client behaviour for :lang

Fully supports :lang (6): Outlook iOS, Outlook Android, Apple Mail, Apple Mail iOS, Samsung Mail, Proton Mail.

No support (11): Gmail, Gmail Android, Gmail iOS, Outlook 365, Outlook (New), Outlook Classic, Outlook for Mac, Yahoo Mail, Yahoo Mail Android, Yahoo Mail iOS, AOL Mail. Plan fallbacks for these clients before relying on :lang in production sends.

Behaviour unverified in: Thunderbird, HEY Mail, Fastmail, Superhuman.

Fixes & Workarounds

Gmail

Unsupported

":lang" is not supported in this email client.

Gmail Android

Unsupported

":lang" is not supported in this email client.

Gmail iOS

Unsupported

":lang" is not supported in this email client.

Outlook 365

Unsupported

":lang" is not supported in this email client.

Outlook (New)

Unsupported

":lang" is not supported in this email client.

Outlook Classic

Unsupported

":lang" is not supported in this email client.

Outlook for Mac

Unsupported

":lang" is not supported in this email client.

Yahoo Mail

Unsupported

":lang" is not supported in this email client.

Yahoo Mail Android

Unsupported

":lang" is not supported in this email client.

Yahoo Mail iOS

Unsupported

":lang" is not supported in this email client.

AOL Mail

Unsupported

":lang" is not supported in this email client.

Related Features

Check your own HTML for :lang

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

Zero-Friction Engine Preview

Test your :lang layout across 21 email clients

Preview rendering, catch CSS issues, and see how :lang 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 12, 2022 as the last time :lang was tested in a real client, 4 years before this sync. Syncing copies that result forward, it does not re-test it. Carried in @emailens/engine data v0.12.2.