HTML templates
Use these HTML code templates as the starting point for your messages. They have been optimized across browsers and platforms (desktop and mobile), and they employ web and email best practices:
Full Email templates
These templates include both the underlying code and a screenshot of what the template looks like.
-
Click the links to see a full-size image and a listing of the HTML code.
-
Copy the code listing use it as the starting point for your template by updating the content and images.
Full-width image template
Code
<!-- FULL-WIDTH COLUMN HEADER OR FOOTER IMAGE
for spacing or linebreaks use <br />
-->
<tr>
<td align="center" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="center" valign="top">
<!---- HEADER IMAGE
Images need to have the width and height specified. The style property
"display:block" is necessary to get rid of unwanted margins in some older email
clients. Remember that email clients have images turned off by default,
alternate text "alt-text" is necessary. The color, background-color and font
styles are for the alt text in case images are turned off. ---->
<img src="http://placehold.it/600x200" width="600px" height="120px" border="0" alt="some text" border="0" alt="some text" style="display:block; color:#efefef; text-align:center; font-family:Arial; font-size:28px; font-weight:bold; background-color:#2A80B9;" />
</td>
</tr>
</table>
</td>
</tr>
Full-width column template
Code
<!-- FULL-WIDTH COLUMN
for spacing or linebreaks use <br /> -->
<tr>
<td align="center" valign="top"><!-- Set main horizontal and vertical alignment. Horizontal: left, center, right; Vertical: top, middle, bottom. -->
<span style="font-family:Arial; font-size:16px; color:#888888;">
This text will be center aligned
</span>
<br />
<br />
<div style="text-align:left;"><!-- Use div with text-align to change main alignment. The text inside this div will be left aligned. -->
<span style="font-family:Arial; font-size:16px; color:#888888;">
<b>Dear Someone</b><br />
This text will be left aligned.
</span>
<br />
<br />
<span style="font-family:Arial; font-size:16px; color:#888888;">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vestibulum dolor sed dolor ultrices, a viverra nulla ullamcorper. Quisque tortor ligula, molestie et enim sit amet, vehicula ornare purus. Aliquam a libero mi. Nunc sem orci, ullamcorper nec ipsum sit amet, pellentesque vestibulum velit. Curabitur condimentum orci a erat dapibus vestibulum.
</span>
</div>
<br />
<br />
<span style="font-family:Arial; font-size:16px; color:#888888;">
This text will be center aligned.
</span>
</td>
</tr>
Full-width column that spans two columns below it template
Code
<!-- FULL-WIDTH COLUMN FOR SECTIONS THAT HAVE TWO RESPONSIVE COLUMNS
for spacing or linebreaks use <br /> -->
<tr>
<td colspan="2" align="center" valign="top"><!-- Set main horizontal and vertical alignment. Horizontal: left, center, right; Vertical: top, middle, bottom -->
<span style="font-family:Arial; font-size:16px; color:#888888;">
This text will be center aligned
</span>
<br />
<br />
<div style="text-align:left;"><!-- Use div with text-align to change main alignment. The text inside this div will be left aligned -->
<span style="font-family:Arial; font-size:16px; color:#888888;">
<b>Dear Someone</b><br />
This text will be left aligned
</span>
<br />
<br />
<span style="font-family:Arial; font-size:16px; color:#888888;">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vestibulum dolor sed dolor ultrices, a viverra nulla ullamcorper. Quisque tortor ligula, molestie et enim sit amet, vehicula ornare purus. Aliquam a libero mi. Nunc sem orci, ullamcorper nec ipsum sit amet, pellentesque vestibulum velit. Curabitur condimentum orci a erat dapibus vestibulum.
</span>
</div>
<br />
<br />
<span style="font-family:Arial; font-size:16px; color:#888888;">
This text will be center aligned.
</span>
</td>
</tr>
