Adding HTML to Your Email Template
2 min read
Customize your email content with HTML. Click on a question to learn more about adding HTML as an element. You can also find a list of the supported HTML tags and attributes below.
FAQs
We are here to help with all your questions. Click a question below to learn more.
What are the limitations when adding an HTML element?
What are the recommendations for adding an HTML element?
How can I test the email before sending?
Supported tags and attributes
Below is a list of all whitelisted HTML tags and attributes. Any unsupported tags and attributes will be removed automatically from the component.
Tags | Attributes |
---|---|
h1 | style, dir, class |
h2 | style, dir, class |
h3 | style, dir, class |
h4 | style, dir, class |
h5 | style, dir, class |
div | style, dir, class |
span | style, dir, class |
p | style, dir, class |
a | style, dir, target, rel, href |
ol | style, dir, class, start |
ul | style, dir, class |
li | style, dir, class |
s | style, dir, class |
b | style, dir, class |
i | style, dir, class |
u | style, dir, class |
bdi | style, dir |
br | Not applicable |
pre | style, dir, class |
table | style, class, align, role, cellpadding, cellspacing, width |
tr | style, class |
td | style, class, align, valign, width, rowspan, colspan |
tbody | style, class |
thead | style, class |
img | style, class, src, width, height, border, alt, usemap, dir, target, rel |
Did this help?
|