Email Design Tip of the Week: Create Brand Synergy with Styled "Alt" Tags!

Posted by: Justine Jordan
Monday, March 2, 2009
Written by Anna Meier

When viewing emails, we are all accustomed to most email clients blocking images by default. That is the main reason to include "alt" tags in our images. This HTML attribute is added to the <img> tag, and will display in some cases when images are blocked or cannot be rendered. But did you know you can add style to those "alt" tags?

CSS styling for "alt" tags is supported in many email clients including Yahoo Mail, Thunderbird, AOL, Gmail and Entourage. Font-family, font-size, and color are supported when viewing in Firefox, while Internet Explorer is limited to the color property.

Below is an example of an email with images blocked. The top represents an "alt" tag without any styling, while the bottom uses CSS styling to specify the font, size, and color of the "alt" tag, along with a background color.

Big difference, you say? I couldn't agree more!

"Alt" tag without CSS styling
<td width="400"><img alt="Northern Trail Outfitters" src="image.jpg" width="400" height="150" border="0" style="display: block;"></td>



"Alt" tag with CSS styling
<td width="400" bgcolor="#586976"><img alt="Northern Trail Outfitters" src="image.jpg" width="400" height="150" border="0" style="font-family: Arial; color: #ffffff; font-size: 36px; display: block;"></td>



After specifying the font, size and color of the "alt" tag, our email is on brand even when images are off. By adding this small detail you can make a big difference in your subscribers' email experience. While this technique may not be visible to all subscriber views, there is no adverse effect in those clients or browsers that do not support styled "alt" tags. Even better, the subscriber experience and your preview pane "punch" is maximized for those subscribers viewing in a supported environment.

(Findings based on testing in Firefox 3.0.x, IE6, IE7)

For more Email Design tips and tricks, check out our Email Design Whitepaper.

Anna Meier
Design Consultant
ExactTarget Campaign Solutions Team

Comments for Email Design Tip of the Week: Create Brand Synergy with Styled "Alt" Tags!

blog comments powered by Disqus

Comments for Email Design Tip of the Week: Create Brand Synergy with Styled "Alt" Tags!

Tuesday, March 3, 2009 by Stefano Bagnara:
Unfortunately I've tested this tip and found it working only in Thunderbird or webmails when browsed using Firefox. No luck with IE7, Chrome, Outlook 2007, Windows Live, Outlook Express and any IE based email reader. You can see screenshots in my post (it is in italian, but you should understand from the images) http://emailmarketingblog.it/blog/2009/03/03/blocco-immagini-stilare-il-testo-alternativo-si-puo I also tried adding style to an outer "p" tag but it didn't change anything.
Wednesday, March 4, 2009 by Justine Jordan:
Stefano, thanks for your comment! We neglected to mention that this technique isn’t supported in all browsers, and have updated the post accordingly.