Compatibility for mj-text

Attributes:
align
color
container-background-color
css-class
font-family
font-size
font-style
font-weight
line-height
letter-spacing
height
padding
padding-bottom
padding-left
padding-right
padding-top
text-decoration
text-transform
Apple Mail Gmail Outlook Yahoo AOL
macOS iOS Windows macOS iOS App Android App Windows Office 365
(Windows)
Office 365
(macOS)
Windows Mail Outlook.com
(Windows)
Outlook.com
(macOS)
Microsoft365.com iOS App Android App Windows macOS iOS App Android App Webmail
11
15 12 2016 15
13 16 16 13 2019 13 16 16
14 17 10 14 17 14 2021 10 14 10 10 14 10 17 12 10 14 17 13 10
15 18 11 15 18 15 2024 11 15 11 11 15 11 18 13 11 15 18 14 11

    Latest update on 26/09/2025 using MJML > 4.16.1

    Compatibility for mj-text align attribute

    Apple Mail Gmail Outlook Yahoo AOL
    macOS iOS Windows macOS iOS App Android App Windows Office 365
    (Windows)
    Office 365
    (macOS)
    Windows Mail Outlook.com
    (Windows)
    Outlook.com
    (macOS)
    Microsoft365.com iOS App Android App Windows macOS iOS App Android App Webmail
    11
    15 12 2016 15
    13 16 16 13 2019 13 16 16
    14 17 10 14 17 14 2021 10 14 10 10 14 10 17 12 10 14 17 13 10
    15 18 11 15 18 15 2024 11 15 11 11 15 11 18 13 11 15 18 14 11

    Latest update on 26/09/2025 using MJML > 4.16.1

    Compatibility for mj-text color attribute

    Apple Mail Gmail Outlook Yahoo AOL
    macOS iOS Windows macOS iOS App Android App Windows Office 365
    (Windows)
    Office 365
    (macOS)
    Windows Mail Outlook.com
    (Windows)
    Outlook.com
    (macOS)
    Microsoft365.com iOS App Android App Windows macOS iOS App Android App Webmail
    11
    15 12 2016 15
    13 16 16 13 2019 13 16 16
    14 17 10 14 17 14 2021 10 14 10 10 14 10 17 12 10 14 17 13 10
    15 18 11 15 18 15 2024 11 15 11 11 15 11 18 13 11 15 18 14 11

    Latest update on 26/09/2025 using MJML > 4.16.1

    Compatibility for mj-text container-background-color attribute

    Apple Mail Gmail Outlook Yahoo AOL
    macOS iOS Windows macOS iOS App Android App Windows Office 365
    (Windows)
    Office 365
    (macOS)
    Windows Mail Outlook.com
    (Windows)
    Outlook.com
    (macOS)
    Microsoft365.com iOS App Android App Windows macOS iOS App Android App Webmail
    11
    15 12 2016 15
    13 16 16 13 2019 13 16 16
    14 17 10 14 17 14 2021 10 14 10 10 14 10 17 12 10 14 17 13 10
    15 18 11 15 18 15 2024 11 15 11 11 15 11 18 13 11 15 18 14 11

    Latest update on 26/09/2025 using MJML > 4.16.1

    Compatibility for mj-text css-class attribute

    Apple Mail Gmail Outlook Yahoo AOL
    macOS iOS Windows macOS iOS App Android App Windows Office 365
    (Windows)
    Office 365
    (macOS)
    Windows Mail Outlook.com
    (Windows)
    Outlook.com
    (macOS)
    Microsoft365.com iOS App Android App Windows macOS iOS App Android App Webmail
    11
    15 12 2016 15
    13 16 16 13 2019 13 16 16
    14 17 10 14 17 14 2021 10 14 10 10 14 10 17 12 10 14 17 13 1 10
    15 18 11 15 18 15 2024 11 15 11 11 15 11 18 13 11 15 18 14 1 11
    1. 1When using to apply styles using mj-style, styles must be inlined.

    Latest update on 26/09/2025 using MJML > 4.16.1

    Compatibility for mj-text font-family attribute

    Apple Mail Gmail Outlook Yahoo AOL
    macOS iOS Windows macOS iOS App Android App Windows Office 365
    (Windows)
    Office 365
    (macOS)
    Windows Mail Outlook.com
    (Windows)
    Outlook.com
    (macOS)
    Microsoft365.com iOS App Android App Windows macOS iOS App Android App Webmail
    11
    15 12 2016 15
    13 16 16 13 2019 13 16 16
    14 17 10 14 17 14 2021 10 14 10 10 14 10 17 12 10 14 17 13 10
    15 18 11 15 18 15 2024 11 15 11 11 15 11 18 13 11 15 18 14 11

    Latest update on 26/09/2025 using MJML > 4.16.1

    Compatibility for mj-text font-size attribute

    Apple Mail Gmail Outlook Yahoo AOL
    macOS iOS Windows macOS iOS App Android App Windows Office 365
    (Windows)
    Office 365
    (macOS)
    Windows Mail Outlook.com
    (Windows)
    Outlook.com
    (macOS)
    Microsoft365.com iOS App Android App Windows macOS iOS App Android App Webmail
    11 1
    15 1 12 1 2016 15 1
    13 1 16 1 16 1 13 1 2019 13 1 16 1 16 1
    14 1 17 1 10 1 14 1 17 1 14 1 2021 10 14 1 10 10 1 14 1 10 1 17 12 1 10 1 14 1 17 13 1 10 1
    15 1 18 1 11 15 1 18 1 15 1 2024 11 15 1 11 11 15 1 11 18 1 13 1 11 15 1 18 1 14 1 11
    1. 1 In most instances, headings have a font-size set to an em value in the user-stylesheet, therefore headings will resize to a multiple of the specified value, e.g. H1, typically set at 2em will be twice the specified size.

    Latest update on 26/09/2025 using MJML > 4.16.1

    Compatibility for mj-text font-style attribute

    Apple Mail Gmail Outlook Yahoo AOL
    macOS iOS Windows macOS iOS App Android App Windows Office 365
    (Windows)
    Office 365
    (macOS)
    Windows Mail Outlook.com
    (Windows)
    Outlook.com
    (macOS)
    Microsoft365.com iOS App Android App Windows macOS iOS App Android App Webmail
    11
    15 12 2016 15
    13 16 16 13 2019 13 16 16
    14 17 10 14 17 14 2021 10 14 10 10 14 10 17 12 10 14 17 13 10
    15 18 11 15 18 15 2024 11 15 11 11 15 11 18 13 11 15 18 14 11

    Latest update on 26/09/2025 using MJML > 4.16.1

    Compatibility for mj-text font-weight attribute

    Apple Mail Gmail Outlook Yahoo AOL
    macOS iOS Windows macOS iOS App Android App Windows Office 365
    (Windows)
    Office 365
    (macOS)
    Windows Mail Outlook.com
    (Windows)
    Outlook.com
    (macOS)
    Microsoft365.com iOS App Android App Windows macOS iOS App Android App Webmail
    11
    15 12 2016 15
    13 16 16 13 2019 13 16 16
    14 17 10 14 17 14 2021 10 14 10 10 14 10 17 12 10 14 17 13 10
    15 18 11 15 18 15 2024 11 15 11 11 15 11 18 13 11 15 18 14 11

    Latest update on 26/09/2025 using MJML > 4.16.1

    Compatibility for mj-text line-height attribute

    Apple Mail Gmail Outlook Yahoo AOL
    macOS iOS Windows macOS iOS App Android App Windows Office 365
    (Windows)
    Office 365
    (macOS)
    Windows Mail Outlook.com
    (Windows)
    Outlook.com
    (macOS)
    Microsoft365.com iOS App Android App Windows macOS iOS App Android App Webmail
    11
    15 12 2016 15
    13 16 16 13 2019 13 16 16
    14 17 10 14 17 14 2021 10 14 10 10 14 10 17 12 10 14 17 13 10
    15 18 11 15 18 15 2024 11 15 11 11 15 11 18 13 11 15 18 14 11

    Latest update on 26/09/2025 using MJML > 4.16.1

    Compatibility for mj-text letter-spacing attribute

    Apple Mail Gmail Outlook Yahoo AOL
    macOS iOS Windows macOS iOS App Android App Windows Office 365
    (Windows)
    Office 365
    (macOS)
    Windows Mail Outlook.com
    (Windows)
    Outlook.com
    (macOS)
    Microsoft365.com iOS App Android App Windows macOS iOS App Android App Webmail
    11
    15 12 2016 15
    13 16 16 13 2019 13 16 16
    14 17 10 14 17 14 2021 10 14 10 10 14 10 17 12 10 14 17 13 10
    15 18 11 15 18 15 2024 11 15 11 11 15 11 18 13 11 15 18 14 11

    Latest update on 26/09/2025 using MJML > 4.16.1

    Compatibility for mj-text height attribute

    Apple Mail Gmail Outlook Yahoo AOL
    macOS iOS Windows macOS iOS App Android App Windows Office 365
    (Windows)
    Office 365
    (macOS)
    Windows Mail Outlook.com
    (Windows)
    Outlook.com
    (macOS)
    Microsoft365.com iOS App Android App Windows macOS iOS App Android App Webmail
    11
    15 12 2016 15
    13 16 16 13 2019 13 16 16
    14 17 10 14 17 14 2021 10 14 10 10 14 10 17 12 10 14 17 13 10
    15 18 11 15 18 15 2024 11 15 11 11 15 11 18 13 11 15 18 14 11

    NOTE: Caution when using height as content can overspill, e.g. on mobile clients

    Latest update on 26/09/2025 using MJML > 4.16.1

    Compatibility for mj-text padding attribute

    Apple Mail Gmail Outlook Yahoo AOL
    macOS iOS Windows macOS iOS App Android App Windows Office 365
    (Windows)
    Office 365
    (macOS)
    Windows Mail Outlook.com
    (Windows)
    Outlook.com
    (macOS)
    Microsoft365.com iOS App Android App Windows macOS iOS App Android App Webmail
    11
    15 12 2016 15
    13 16 16 13 2019 13 16 16
    14 17 10 14 17 14 2021 10 14 10 10 14 10 17 12 10 14 17 13 10
    15 18 11 15 18 15 2024 11 15 11 11 15 11 18 13 11 15 18 14 11

    Latest update on 26/09/2025 using MJML > 4.16.1

    Compatibility for mj-text padding-bottom attribute

    Apple Mail Gmail Outlook Yahoo AOL
    macOS iOS Windows macOS iOS App Android App Windows Office 365
    (Windows)
    Office 365
    (macOS)
    Windows Mail Outlook.com
    (Windows)
    Outlook.com
    (macOS)
    Microsoft365.com iOS App Android App Windows macOS iOS App Android App Webmail
    11
    15 12 2016 15
    13 16 16 13 2019 13 16 16
    14 17 10 14 17 14 2021 10 14 10 10 14 10 17 12 10 14 17 13 10
    15 18 11 15 18 15 2024 11 15 11 11 15 11 18 13 11 15 18 14 11

    Latest update on 26/09/2025 using MJML > 4.16.1

    Compatibility for mj-text padding-left attribute

    Apple Mail Gmail Outlook Yahoo AOL
    macOS iOS Windows macOS iOS App Android App Windows Office 365
    (Windows)
    Office 365
    (macOS)
    Windows Mail Outlook.com
    (Windows)
    Outlook.com
    (macOS)
    Microsoft365.com iOS App Android App Windows macOS iOS App Android App Webmail
    11
    15 12 2016 15
    13 16 16 13 2019 13 16 16
    14 17 10 14 17 14 2021 10 14 10 10 14 10 17 12 10 14 17 13 10
    15 18 11 15 18 15 2024 11 15 11 11 15 11 18 13 11 15 18 14 11

    Latest update on 26/09/2025 using MJML > 4.16.1

    Compatibility for mj-text padding-right attribute

    Apple Mail Gmail Outlook Yahoo AOL
    macOS iOS Windows macOS iOS App Android App Windows Office 365
    (Windows)
    Office 365
    (macOS)
    Windows Mail Outlook.com
    (Windows)
    Outlook.com
    (macOS)
    Microsoft365.com iOS App Android App Windows macOS iOS App Android App Webmail
    11
    15 12 2016 15
    13 16 16 13 2019 13 16 16
    14 17 10 14 17 14 2021 10 14 10 10 14 10 17 12 10 14 17 13 10
    15 18 11 15 18 15 2024 11 15 11 11 15 11 18 13 11 15 18 14 11

    Latest update on 26/09/2025 using MJML > 4.16.1

    Compatibility for mj-text padding-top attribute

    Apple Mail Gmail Outlook Yahoo AOL
    macOS iOS Windows macOS iOS App Android App Windows Office 365
    (Windows)
    Office 365
    (macOS)
    Windows Mail Outlook.com
    (Windows)
    Outlook.com
    (macOS)
    Microsoft365.com iOS App Android App Windows macOS iOS App Android App Webmail
    11
    15 12 2016 15
    13 16 16 13 2019 13 16 16
    14 17 10 14 17 14 2021 10 14 10 10 14 10 17 12 10 14 17 13 10
    15 18 11 15 18 15 2024 11 15 11 11 15 11 18 13 11 15 18 14 11

    Latest update on 26/09/2025 using MJML > 4.16.1

    Compatibility for mj-text text-decoration attribute

    Apple Mail Gmail Outlook Yahoo AOL
    macOS iOS Windows macOS iOS App Android App Windows Office 365
    (Windows)
    Office 365
    (macOS)
    Windows Mail Outlook.com
    (Windows)
    Outlook.com
    (macOS)
    Microsoft365.com iOS App Android App Windows macOS iOS App Android App Webmail
    11 1
    15 1 12 1 2016 1 15 1
    13 1 16 1 16 1 13 1 2019 1 13 1 16 1 16 1
    14 1 17 1 10 1 14 1 17 1 14 1 2021 1 10 14 1 10 10 1 14 1 10 1 17 12 1 10 1 14 1 17 13 1 10 1
    15 1 18 1 11 15 1 18 1 15 1 2024 1 11 15 1 11 11 15 1 11 18 1 13 1 11 15 1 18 1 14 1 11
    1. 1Overrides all text, can't be set on child tags to override.

    Latest update on 26/09/2025 using MJML > 4.16.1

    Compatibility for mj-text text-transform attribute

    Apple Mail Gmail Outlook Yahoo AOL
    macOS iOS Windows macOS iOS App Android App Windows Office 365
    (Windows)
    Office 365
    (macOS)
    Windows Mail Outlook.com
    (Windows)
    Outlook.com
    (macOS)
    Microsoft365.com iOS App Android App Windows macOS iOS App Android App Webmail
    11
    15 12 2016 1 15
    13 16 16 13 2019 1 13 16 16
    14 17 10 14 17 14 2021 1 10 1 14 10 1 10 14 10 17 12 10 14 17 13 10
    15 18 11 15 18 15 2024 1 11 1 15 11 1 11 15 11 18 13 11 15 18 14 11
    1. 1Overrides all text, can't be set on child tags to override.

    Latest update on 26/09/2025 using MJML > 4.16.1