Brugerhåndbog Annuller

Using web fonts in HTML email or newsletters

  1. Adobe Fonts User Guide
  2. Introduction
    1. System and subscription requirements
    2. Browser and OS support
    3. Add fonts on your computer
    4. Add fonts to your website
    5. Add fonts on CC Mobile
  3. Font licensing
    1. Font licensing
    2. Manage your account
    3. Licensing for Creative Cloud for enterprise customers
    4. Adding font licenses to your account
    5. Removing fonts from the subscription library
    6. Adobe Fonts not available to Adobe IDs registered in China
    7. Why aren't these fonts included in my Creative Cloud subscription?
    8. Morisawa font removal September 2021
  4. Getting and using fonts
    1. Using Adobe Fonts in Creative Cloud apps
    2. Manage your fonts
    3. Resolve missing fonts in desktop applications
    4. Using fonts in InDesign
    5. Fonts and typography
    6. Using web fonts in HTML5 Canvas documents
    7. Using fonts in InCopy
    8. How to use fonts in Adobe Muse
    9. Using web fonts in Muse
    10. Packaging font files
    11. Troubleshooting guide: Adding fonts
    12. Added fonts aren't showing to font menu
    13. "Unable to add one or more fonts" or "A font with the same name is already installed"
    14. What happens when a font I'm using is updated by the foundry?
  5. Web design and development
    1. Add fonts to your website
    2. Troubleshooting guide: Adding fonts to a website
    3. Using web fonts in HTML email or newsletters
    4. Using web fonts with Accelerated Mobile Pages (AMP)
    5. CSS selectors
    6. Customize web font performance with font-display settings
    7. Embed codes
    8. Dynamic subsetting & web font serving
    9. Font events
    10. Why are my web fonts from use.typekit.net?
    11. Site can't connect to use.typekit.net
    12. Using web fonts with CodePen
    13. Browser and OS support
    14. Domains
    15. Using web fonts when developing locally
    16. Content security policy
    17. Printing web fonts
  6. Language support and OpenType features
    1. Language support and subsetting
    2. Using OpenType features
    3. Syntax for OpenType features in CSS
  7. Font technology
    1. OpenType-SVG color fonts
    2. Ten Mincho: important points on updating from Version 1.000

The @import CSS embed code can be used to include custom web fonts in HTML email or newsletters.  

Bemærk:

JavaScript font loading is used for Adobe's dynamic subsetting, which is required for East Asian web font serving.  Since there isn't a CSS embed code option, these web fonts–including those with Chinese, Japanese, and Korean language support–cannot be used in HTML email.

Choose fonts to use

Follow the web font tutorial to choose the fonts you want to use and create your project.

Add the embed code

To find the embed code for your project, visit the Web Projects page. Locate the project name, then click on the “@import link” option. 

Add the <style> tags with the @import embed code to the <head> of the email, along with the font family names.

The @import embed code used in HTML email

The font family name to use in the CSS to style your text is listed in the web project as well; read more about using fonts in CSS.

Bemærk:

The @import embed code has to be at the beginning of the <style> tag with any other @import statements or the fonts will not load. Only a @charset entry is allowed to be listed before the @import lines.

Email client support for web fonts

Some email clients do not support HTML email or web fonts in email, which will affect what your recipients see. Be sure to specify fallback fonts in your email and test your email before sending it, so that it performs well in all clients.

Here is a short list of popular email clients and their compatibility with web fonts.

Client Name

Compatible?

AOL Mail

Yes

Android Mail App (native, no GMail)

Yes

Apple Mail

Yes

GMail

No

Google Inbox

No

iOS Mail

Yes

Outlook 2000

No

Outlook 2011 (OS X 10.10+)

Yes

Outlook 2016 (OS X 10.10+ and Windows 10)

Yes

Deleting a project or canceling your subscription

If you delete the project that you are using in an email campaign or cancel the subscription that is hosting it, the fonts will no longer be available to any sent emails. The fallback fonts you specified or the email client’s default fonts will be used in their place.

 Adobe

Få hjælp hurtigere og nemmere

Ny bruger?

Adobe MAX 2024

Adobe MAX

The Creativity Conference

14-16. oktober i Miami Beach og online

Adobe MAX 2024

Adobe MAX

The Creativity Conference

14-16. oktober i Miami Beach og online