To insert a Code content block, follow these steps.
Click and drag the Code block into your layout.
In the editing window, type or paste in your code.
Click Save & Close.
Code block tips
Here are some tips for how to use the Code content block.
Don't use a word-processing program to create HTML content.
Programs like Microsoft Word or Publisher can add extra styling code that distorts your campaign. We recommend that you write the HTML code in a simple text editor and then paste the code into the Code block.
Use embedded or inline CSS.
In most cases, external CSS files will not work in HTML email. You can add embedded or inline CSS to a Code block, preferably above the body section of your layout. For the best results, we recommend you use inline CSS.
Use the content studio or absolute paths for images and files.
Use our content studio to host files and images for your campaign. Grab the file URL from the Content Studio and paste it into your code in the Code block. If you host your images on your own server, use absolute paths.
Enable Dynamic Content
When you design an email, you can turn any content block into Dynamic Content that displays only for certain recipients. This helps you target different types of contacts at the same time with a single email.
To learn more about Dynamic Content and how to enable it in your content block, check out About Dynamic Content.
Have a question?
Paid users can log in to access email and chat support.