How to add a code element
A code element lets you drop your own HTML straight into an email, for a layout the standard elements do not cover. Follow the steps below, or watch the walkthrough first.
Adding a code element
- In the drag-and-drop editor, click the plus icon.
- Drag the code element into your email content.
- Once dropped, select the code element.
- In the code settings on the right, insert your code.
- Optionally, change the background of the code element.
The toolbar above the code box lets you add personalization, dynamic content, links, images and documents without writing the markup yourself.
Note: All JavaScript is stripped out, for security. Anything that depends on a script will not run, and in any case almost no email client would run it.
Tips
- Because the markup is yours, we cannot guarantee it looks right or stays responsive in every email client. The standard elements are tested across clients; custom code is not.
- Send yourself a test before sending to contacts, so you can see the result in a real inbox. See Testing a campaign.