Skip to main content
Emailens
Pseudo-Classes & Selectors

:type-selector

selector or pseudo-class · 17 supported, 2 partial, 1 unsupported across 21 clients

17 of 21 email clients render :type-selector fully (Sep 2, 2026 data); it breaks outright in Proton Mail.

  • 6/7 webmail, 5/6 desktop, 6/8 mobile clients support :type-selector fully.
  • Unsupported in Proton Mail.
  • Partial in Gmail Android, Gmail iOS, behavior differs from browsers, test before relying on it.
  • 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 Oct 13, 2019, synced by Emailens Sep 2, 2026.

Type selectors target elements by tag name (e.g., a, p, h1). They have low specificity and are commonly used as resets or base typography. In email, type selectors live in <style> blocks and apply only on clients that preserve them, which excludes most Outlook builds.

Client Support

ClientCategoryEngineSupport
GmailwebmailGmail WebSupported
Gmail AndroidmobileGmail MobilePartialSee caveat 1
Gmail iOSmobileGmail MobilePartialSee caveat 1
Outlook 365webmailOutlook WebSupported
Outlook (New)desktopOutlook WebSupported
Outlook ClassicdesktopMicrosoft WordSupported
Outlook iOSmobileOutlook MobileSupported
Outlook AndroidmobileOutlook MobileSupported
Outlook for MacdesktopWebKitSupported
Apple MaildesktopWebKitSupported
Apple Mail iOSmobileWebKitSupported
Yahoo MailwebmailYahooSupported
Yahoo Mail AndroidmobileYahooSupported
Yahoo Mail iOSmobileYahooSupported
Samsung MailmobileSamsungSupported
ThunderbirddesktopGeckoSupported
HEY MailwebmailWebKitSupported
Proton MailwebmailProtonUnsupported
AOL MailwebmailAOLSupported
FastmailwebmailFastmailSupported
SuperhumandesktopBlinkUnknown

Documented caveats (1)

  1. 1.Gmail Android, Gmail iOS: Partial. Not supported with non Google accounts.

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

Client-by-client behaviour for :type-selector

Fully supports :type-selector (17): Gmail, Outlook 365, Outlook (New), Outlook Classic, Outlook iOS, Outlook Android, Outlook for Mac, Apple Mail, Apple Mail iOS, Yahoo Mail, Yahoo Mail Android, Yahoo Mail iOS, Samsung Mail, Thunderbird, HEY Mail, AOL Mail, Fastmail.

Partial support (2): Gmail Android, Gmail iOS. Expect rendering quirks unique to each engine. Partial support typically means a subset of values, an ignored shorthand, or sanitizer-specific rewrites.

No support (1): Proton Mail. Plan fallbacks for these clients before relying on :type-selector in production sends.

Behaviour unverified in: Superhuman.

When to use :type-selector in email

  • Setting a base font-family on every <p> and <td> in the document.
  • Resetting <a> color and underline globally before applying inline overrides.
  • Establishing default <li> spacing for all unordered lists.

Rendering behaviour and edge cases

  • Type selectors have very low specificity and are easily overridden by inline styles or class selectors.
  • Outlook strips <style> blocks, so type selectors are inert there.
  • Gmail honors type selectors when <style> survives but rewrites class names that interact with them.

Recommended fallback strategy

Treat type selectors in <style> as a baseline that may not apply. Always set critical typography inline on each text-bearing element. Use type selectors for non-critical refinements only.

Fixes & Workarounds

Proton Mail

Unsupported

":type-selector" is not supported in this email client.

Gmail Android

Partial

":type-selector" is not supported in this email client.

Gmail iOS

Partial

":type-selector" is not supported in this email client.

Related Features

Check your own HTML for :type-selector

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

Zero-Friction Engine Preview

Test your :type-selector layout across 21 email clients

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