Advanced Editor User S Guide

Advanced Editor User's Guide | Page 7 ©Constant Contact, Inc. All rights reserved. 2/08 Preface This guide describes how to customize emails using the Constant ...
constantcontact.com/aka/docs/pdf/cc_advanced_editor_user_guide.pdf

 

 DOWNLOAD | Find Similar

 


advertisement

 

 

 

Text Previews (text result may be not accurate)

Advanced Editor User’s Guide Page 3 ©Constant Contact, Inc. All rights reserved. 2/08 Preface What This Guide Contains Terms Used in this Book Exploring the Advanced Editor Why Use the Advanced Editor? An Introduction XHTML/HTML Template Text Mode Style Mode A Look at the Code HTML in the Advanced Editor Spacer Images 1 Emails versus Web Pages Using Styles Advanced Editor User’s Guide Page 4 ©Constant Contact, Inc. All rights reserved. 2/08 How Constant Contact Uses Styles Styles in Constant Contact CSS Syntax Common CSS Properties and Values Dening and Adding Styles Adding Style Denitions Adding Style Denitions to Constant Contact Tags Using the Font Tag with Style Classes Using Constant Contact Tags Constant Contact Tag Overview Types of Tags Property Tags Block Tags Wizard Display vs. HTML Mode Display Tag Reference 2 2 Forwarorw; r18;퀀d.../Forwar&#x/For;&#xwar1;贀d IfPr&#xIfPr;op;rty;xis;&#xts00;opertyExists.../IfPr&#x/IfP;&#xr18o;&#xpert;&#xyExi;&#xsts0;opertyExists 3 PhysicalAddr&#xPhys;&#xical;૝r;Ǝs;&#xs000;ess.../PhysicalAddr&#x/Phy;&#xsica;&#xlAdd;&#xr18e;&#xss00;ess Pr&#xPr18;&#xoper;&#xty00;operty.../Pr&#x/Pr1;ope;&#xrty0;operty Advanced Editor User’s Guide Page 5 ©Constant Contact, Inc. All rights reserved. 2/08 3 3 SimpleURLPr&#xSimp;&#xleUR;&#xLPr1;ope;&#xrty0;operty.../SimpleURLPr&#x/Sim;&#xpleU;&#xRLPr;op;rty;operty Using Predened Variables Account Variables Global Account Variable Changes Contact Properties List of Contact Properties Contact Data Uploading Contact Data Where Variables Display in the Advanced Editor Property Tag PropertyPair Tag Explanation of Pr&#xPr18;&#xoper;&#xty00;operty Tag Common Tasks Using Contact Properties Adding Contact Information Using Contact Custom Field Information Locating Variables and Paragraphs in Your Email Avoid ForEach Loops Tables and Overall Layout Customizing Emails 5 Advanced Editor User’s Guide Page 6 ©Constant Contact, Inc. All rights reserved. 2/08 Preparing Your Design A Note About Link Tracking Image Maps Creating a Custom Email Using Your Own Code Debugging your Email Tip: Line Numbers Reported by Advanced Editor Testing your Email Common XHTML Errors Best Practices General Design Guidelines Know Your Audience Maximize Performance Tables, Width, and Nesting Color Flexibility Coding Standards Additional Email Design Resources 6 Advanced Editor User’s Guide Page 7 ©Constant Contact, Inc. All rights reserved. 2/08 Preface This guide describes how to customize emails using the Constant Contact Advanced Editor. While the Wizard allows you to make many changes to your emails, the Advanced Editor gives you a far greater ability to make additional The Advanced Editor User Guide is for account holders who want to customize their emails beyond the standard templates. Users should be familiar with web design tools, including HTML and XHTML. What This Guide Contains The following table lists the contents of this guide. Exploring the Advanced Discusses why you might want to use the Advanced Editor and introduces you to the user interface. Also includes a brief overview of XHTML. Chapter 1 Using Styles modify the layouts of permission reminders, footers, and links that Constant Contact provides. Chapter 2 Using Constant Contact Tags Describes how to use Constant Contact tags to modify the lay outs of permission reminders, footers, and links that Constant Contact provides. Chapter 3 Using Predened Variables Lists the predened variables and explains how they are used to personalize your emails. Chapter 4 Customizing Emails provides an overview of steps to design and test your email. Chapter 5 Best Practices Discusses email design basics, and some limitations of HTML and XHTML code. Chapter 6 The following are the text conventions used in this guide. Typeface In text, italics are used for emphasis. In reference information, italics denotes values you supply Words in courier font denote keywords and sample code. name = [name of Bold text indicates clickable items in a user interface. Preview Terms Used in this Book The following table lists terms and acronyms used in this document: Term account properties Information that Constant Contact stores about your account, such as your contact name, address, and web site, and makes them available in emails. Advanced Editor User’s Guide Page 8 ©Constant Contact, Inc. All rights reserved. 2/08 Term Advanced Constant Contact editing environment that allows you to make changes to your email that are not available in the Wizard. A statistic on the Reports tab that tracks the number of unique clicks on click-through links. through links Links in your email to your website that are tracked. Constant Contact tracks the href attribute sup plied in the anchor tag. Constant Contact tags XML custom tags for implementing Constant Contact templates, properties, and the Wizard. An email user who has given you permission to send emails. properties Information that Constant Contact stores about your contacts and makes them available in emails for you to personalize your messages. The HTML formatted email message that you create by using the Constant Contact Wizard. You can customize this email using the Advanced Editor before sending it to your list of contacts. email client Application that displays email messages. It can be either a client-side application running on an individual computer (such as Outlook, Eudora, or Communicator) or a web-based email application link tracking Constant Contact reports statistics on links dened in emails to keep track of how many contacts open the emails and click to your web site from the email. several templates that Constant Contact provides. Those emails your contacts received and viewed. Wizard The user interface you use to create a Constant Contact email from a template. XHTML EXtensible Hyper Text Markup Language. It is a stricter and cleaner version of HTML, which is almost identical to HTML 4.01, and is aimed to replace HTML. Web application standard for transmitting data independent of software and hardware. Allows web developers to dene custom tags for use in XHTML documents. Advanced Editor User’s Guide Page 9 ©Constant Contact, Inc. All rights reserved. 2/08 Exploring the Advanced Editor The Constant Contact Advanced Editor allows you to make changes in your email that you cannot do in the Wizard. While the Wizard allows you to make many changes to the colors and fonts and contents of your email, there are some occasions where you’ll want to customize your email even more. This chapter provides an overview of the Advanced Editor, and covers: Why you might use the Advanced Editor An introduction to the Advanced Editor Why Use the Advanced Editor? structions to build the Wizard you used to create your email. That is, when you choose a template category and style from the Template Picker, Constant Contact generates a Wizard according to the template instructions. You can view (but not edit) these instructions in the Advanced Editor. However, you can use the Advanced Editor to make changes that are not available in the Wizard. Typically, when customizing an email, you start out by choosing a template from one of the many standard templates available in the Template Picker. But if you need more control over your HTML layout, you may want to import your HTML or XHTML into the custom template, and edit it using the Advanced Editor. Using the Advanced Editor to modify your email for a more unique look, you can: Make minor changes to the layout, like changing the location of sidebars. Modify or add more styles. Personalize your emails (this is also available through the Wizard). Move sections to a different area of the email. An Introduction This section gives you an overview and describes the different modes of the Advanced Editor. To open the Advanced Editor: Log in to Constant Contact. a. Open an existing email by clicking on its name. b. Click Edit Email. a. Click Create an Email. b. Name the email and click Next. If using the Classic Email Wizard i. Choose a template and click Next. i. Choose the link “Use My Own Code” in the lower left. ii. Choose HTML or XHTML and click Next. Advanced Editor User’s Guide Page 10 ©Constant Contact, Inc. All rights reserved. 2/08 If using the New Wizard i. Choose the link “Use My Own Code” in the lower left. ii. Choose HTML or XHTML and click Next. In the Wizard, click the Advanced Editor link on the bottom left of the window. The Advanced Editor window There are links to the editor’s modes: HTML – Displays the instructions for generating an email. The code includes Constant Contact properties and tags in addition to HTML tags. Text – Displays the layout instructions for generating a text-based email. *Style mode is only available when you choose XHTML. XHTML/HTML Template When you rst open the Advanced Editor, the HTML mode is selected. However, you may notice that this is not ordinary HTML. You’ll see code that includes many Constant Contact specic tags such as: OpenTracking &#xOpen;&#xTrac;&#xking;&#x 60/;/ Advanced Editor User’s Guide Page 11 ©Constant Contact, Inc. All rights reserved. 2/08 These are Extensible Markup Language (XML) tags. XML allows for a standard way to transmit unique data. A web the data. XHTML has stricter syntax rules than HTML, to improve performance and avoid platform-specic issues. Constant Contact created unique XML tags to describe data specic to managing emails and display emails in the Wizard. Text Mode The Text mode displays the instructions for generating a text-based email. It contains all the Constant Contact tags Style Mode FONT-FAMILY: Georgia,’Times New Roman’,Times,serif; FONT-SIZE: 10pt; COLOR: #000000; BACKGROUND-COLOR: #FFFFFF; MARGIN: 10px; FONT-FAMILY: Georgia,’Times New Roman’,Times,serif; FONT-SIZE: 16pt; COLOR: #996600; Refer to Chapter 2, Using Styles for more information. A Look at the Code The code that you see in the HTML mode is not strict HTML code: it is a combination of standard HTML, XHTML, and Constant Contact tags used to build the Wizard and display your email properly. HTML in the Advanced Editor All emails have the same basic HTML structure. For example, &#xtitl;title !--Title that appears on Subject line of &#x!--T;&#xitle;&#x 60t;&#xhat ;؊p;&#xpear;&#xs 60;&#xon 6;�Sub;&#xject;&#x 60l;&#xine ;`of;&#x 60e;&#xmail;&#x--00;email-- Advanced Editor User’s Guide Page 12 ©Constant Contact, Inc. All rights reserved. 2/08 ...Content of HTML document... You will see some common HTML tags that control how the document looks: &#xp000;p &#x/p00;/p iv0;div &#x/div;/div and all tags must have beginning and end tags. For example, XHTML requires all tags to be closed (e.g., &#xp000;p.../ p). XHTML is very similar to HTML, but when you begin using XHTML, you may run into common coding errors. These common errors are described in “Common XHTML Errors” in Chapter 5. zation which is responsible for standardizing HTML and other web standards. See http://www.w3schools.com for tutorials and reference information. Spacer Images You will see references to a spacer image (spacer.gif). For example, table border=”0” cellpadding=”0” cellspacing=”0” &#xtabl; 60; ord;r=0;&#x 60c;llp;૝i;&#xng=0;&#x 60c;lls;&#xpaci;&#xng=0;&#x 60w;&#xidth;&#x=100;&#x%000;width=”100%” td colspan=”1” &#xtd 6; ol;&#xspan;&#x=1 6;�row;&#xspan;&#x=100;rowspan=”1”img height=”5” src=”http://imgcc.com/spacer.gif” &#x/td0;width=”600”//td This is a common way for web designers to control layout. The spacer image is a 1 pixel by 1 pixel transparent GIF that expands to the width and height specied. In the above example, spacer.gif draws a row that is 600 pixels wide by 5 pixels high. Comments indicate blocks of related information. For example, !-- BEGIN: Logo Include &#x!-- ;悾&#xGIN:;&#x 60L;&#xogo ;`In; lud; 60;&#x--00;-- ... Content of Logo Include block... !-- END: Logo Include &#x!-- ;؎N; : 6;�Log;&#xo 60;&#xIncl;&#xude ;`--;-- tend to have the following sections: Title Introduction Advanced Editor User’s Guide Page 13 ©Constant Contact, Inc. All rights reserved. 2/08 promotions, press releases, and so on Contact information or email signature When you open the Advanced Editor from the Wizard, you don’t see the results of changes you made in the Wizard. To see your Wizard changes, click Preview, from either the Wizard or the Advanced Editor. Constant Contact then displays your email according to the instructions shown in the Advanced Editor, using the information you supplied in the Wizard as shown in the following gure. Advanced Editor User’s Guide Page 14 ©Constant Contact, Inc. All rights reserved. 2/08 Preview simulates the process of generating an email, which occurs when you schedule the email. From Preview, you can right-click and view the HTML source code that Constant Contact generates, as shown in the example below. This HTML code may look more familiar to you. Now that Constant Contact has expanded the information to hold the values you supplied in the Wizard, you are looking at plain HTML: sans-serif;FONT-SIZE: 14pt;FONT-WEIGHT: bold;COLOR: #FF0000;” This is my headline. This is the code that your contacts receive in their mailboxes. Emails versus Web Pages With Constant Contact, you are creating web-based emails for viewing within email applications. It is important to designed specically for email viewing through email applications. These email applications can be either: Email clients – programs resident on a users’ computer, such as AOL, Eudora, Lotus Notes, Outlook Express Mail.com, and Yahoo! on the email client your contacts use. applications. Advanced Editor User’s Guide Page 15 ©Constant Contact, Inc. All rights reserved. 2/08 Using Styles You can modify and add styles in the Advanced Editor to have greater control over the look of your email. This chap how to display HTML elements and help separate layout elements from content elements. An advantage of using styles is that they can ripple through, or cascade, to all HTML elements associated with that style throughout the document, without having to be dened each time that element is used. The result is cleaner code that is much easier to work with. Styles can be dened: At the top of an HTML document (internal styles). Within a specic HTML element (inline styles). Many ISP’s strip out references to external les. once by editing a single CSS document. To make a global change across all emails, simply change the style in this head section of each HTML document with a &#xlink;link tag as follows: href=”websitestyles.css” / Internal styles are used to dene visual elements that are unique to a single document. You dene internal styles at the top of an HTML document (in the head section) by using the &#xstyl;style tag, like this: style &#xstyl; 60;&#xtype;&#x=tex;&#xt/cs;&#xs000;type=”text/css” .body { background-color: #ffffff; margin: 10px 0px 10px 0px; font-weight: bold How Constant Contact Uses Styles how all the styles are dened for the current email. To add or modify style information, you edit the styles here. Advanced Editor User’s Guide Page 16 ©Constant Contact, Inc. All rights reserved. 2/08 If you modify the style that is on the Global Colors and Fonts page, it will update to reect those changes. Inline styles apply to a single occurrence of an HTML element. Dene inline styles with the style attribute within the HTML tag. The style attribute can contain any CSS property: p style=”color: sienna; margin-left: &#xp 60;&#xstyl;=co;&#xlor:;&#x 60s;&#xienn; 6;�mar;&#xgin-;&#xleft;&#x: 60; px;20px” This is a paragraph However, when Constant Contact sends your email, it actually generates inline styles. This is because some email browsers strip any style information that appears at the top of an email message. Preview your email and then view it in source code to see how Constant Contact expands all its properties and generates HTML code. Notice that the &#xstyl;style section has been mostly replaced by inline styles as follows: td align=”left” colspan=”1” rowspan=”1” &#xtd 6; li;&#xgn=l;ït ;،o;&#xlspa;&#xn=1 ;`ro;&#xwspa;&#xn=1 ;`va;&#xlign;&#x=top;valign=”top” style=”font-family: Arial, Helvetica, sans-serif; font-size: COLOR: #000000;” What’s the font tag doing here? If we are using styles, the ont;font tag should not be necessary. However, some web- based email applications, like AOL Web Mail, strip inline styles. For Constant Contact to ensure that your email ren see “Using the Font Tag with Style Classes” on page 20. Styles in Constant Contact In the Style mode of the Advanced Editor, you can see that CSS styles are used to display fonts, whitespace, and colors. You can add more styles to the class denitions in the Style mode, as long as you use standard CSS-dened syntax. You can also add new HTML elements, including Constant Contact tags, in the HTML mode, and add their class denitions in the Style mode. The Advanced Editor incorporates this style information when generating your CSS Syntax The class selector allows you to name or classify types of elements according to their type. For example, some templates contain event classes to describe how to lay out an Event (template) email. The event CSS denes a class for different elements in an event: its name, text, headlines, and details. In the Styles mode, the rules for each class selector are dened as shown in the following example. Notice each class selector starts with a period. FONT-SIZE: 12pt; FONT-WEIGHT: bold; COLOR: #000066; FONT-SIZE: 10pt; COLOR: #000000; Advanced Editor User’s Guide Page 17 ©Constant Contact, Inc. All rights reserved. 2/08 FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #000000; FONT-STYLE: italic; FONT-WEIGHT: bold; FONT-SIZE: 12pt; FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #000066; FONT-WEIGHT: bold; Common CSS Properties and Values Property Category Properties Background background background-attachment background-color background-image background-position background-repeat Controls the background of an element. You can set the background to be a color or an image, position an image on the page, or repeat the background image vertically or horizontally. Text word-spacing Controls the appearance of text. CSS 2 specication allows you to specify direc tion (justication) and unicodebidi. Advanced Editor User’s Guide Page 18 ©Constant Contact, Inc. All rights reserved. 2/08 Property Category Properties Species font types. CSS 2 specication allows you to specify font-size-align and Border border border-color border-style border-width border-bottom border-right border-left Denes the borders around an element. Denes the space around elements. You can use negative values to overlap content, and you can set the top, right, bottom, and left margins using separate properties. A shorthand margin property allows you to change all the margins at border and the element content. You can change the top, right, bottom, and left padding using separate properties. A shorthand padding property allows you to control multiple sides at once. Negative values are not allowed. ers (bullets), and where to place them. A allows you to specify the length of the Dening and Adding Styles able when using XHTML format; it does not display if you are using the Custom HTML format. Adding Style Denitions style information as long as you follow CSS syntax. You can use any of the CSS styles in your emails. However, not all styles are supported in all email applications. Use only alphanumeric characters in style names. Advanced Editor User’s Guide Page 19 ©Constant Contact, Inc. All rights reserved. 2/08 Use the Style mode to dene class styles only (.Classname). You cannot dene ID styles (#IDname) or styles for tags To add styles: Dene your styles in the Style mode. For example: color: #000179; background-color: #00008B; font-size: medium; Do not include comments in the Style mode. In the HTML mode, reference your style. For example: body ody;&#x 60c;&#xlass;&#x=bod;&#xy000;class=”body” ensures that more email clients display your styles as intended. Adding Style Denitions to Constant Contact Tags If you are using XHTML, you can add styles to Constant Contact tags as you do with other HTML tags. The following font-weight: bold; font-size: larger; In the HTML mode, reference your style as follows: Some Constant Contact tags, such as the Forward tag, support the class attribute for you to modify styles. In the Style mode: font-weight: bold; font-size: small; color: #00008B; text-align: center; In the HTML mode, Forward is referenced as follows: Forward orw; rd ;،l; ss=;orw; rds;&#xtyle;class=”forwardstyle”Forward to a &#x/For;&#xward;Friend/Forward The class inside the Forward tag affects only the anchor ꀀa tag. You may need to add p &#xp 60; las;&#xs=fo;&#xrwar; sty;&#xle00;class=”forwardstyle”Forward orw; rd ;،l; ss=;orw; rds;&#xtyle;class=”forwardstyle” Advanced Editor User’s Guide Page 20 ©Constant Contact, Inc. All rights reserved. 2/08 Forward to a &#x/For;&#xward;Friend/Forward &#x/p00;/p Using the Font Tag with Style Classes Even though Constant Contact emails use styles, you often see the deprecated ont;font tag used throughout the emails in the Advanced Editor. This is to support some web-based email applications that strip inline styles. When adding style information within your email, use a font tag and a separate class for font-family, font-size, and color Only font (font-family, font-size, color), background (background-color), and border (bordercolor) are supported in the Constant Contact Wizard. Any other style is editable through the Constant Contact Advanced Editor. Do not use the abbreviated CSS styles. All styles must be dened as a class and each class selector must begin with a period. A style that displays on the Wizard must have a title attribute. The title attribute species the style prompt text on the Wizard. If a style does not have a title attribute, it does not display on the Wizard. Email applications are inconsistent in how they support styles. As a result, some CSS styles may not display as expected in some email applications. Borders are troublesome, for example. Be sure to test your design by opening an email in various email applications to ensure it displays correctly. Advanced Editor User’s Guide Page 21 ©Constant Contact, Inc. All rights reserved. 2/08 Using Constant Contact Tags The XHTML instructions in the Advanced Editor that build your email include Constant Contact dened tags. Some tags are strictly for creating templates and their accompanying Wizards. However, you may want to use some of these tags in your emails. Constant Contact Tag Overview These tags are inserted into your code in the HTML mode, just like any other HTML or XHTML tags. Do not edit Constant Contact tags in the Advanced Editor unless you are familiar with web design tools and HTML. Types of Tags There are two major groupings of Constant Contact tags: those you can use in the Advanced Editor, and those used by Constant Contact template designers. You will see all of them but cannot use the tags that are used internally by Constant Contact template designers. Tags can be grouped into categories, as shown in the following table. Available Tags In the Wizard, denes a text eld and a section tab. Property See “Property Tags” on page 23 for descriptions, and ad ditional information. Performs an action. Standard tags that re quire little to no editing. Advanced Editor User’s Guide Page 22 ©Constant Contact, Inc. All rights reserved. 2/08 Available Tags header, body, and footer inserted into the Wizard by Constant Contact. These tags are used to manipulate the default values and are not typically used by Constant Contact tags are used to customize your email in several ways: Using Block tags to cut and paste elements in your email. Using Message Header, Body, and Footer tags to add links and make very minor changes to the layout. email will not report opens. You can use tags to make changes in each major section within the email: Message Header, Footer, and Body. The following table supplies page numbers for more information on the tags you can use within your email. To modify Constant Contact Tags to Use See Page Message header Message footer Message body ... Forwardン�o30;&#xr30w;ィ�r30;팀.../Forward0/3;༰&#xo30r;0w3;ਰ&#xr30d;0 IfPropertyExists0I3;༰&#xP30r;0o3;�p30;ะr;0t3;�y30;ะx;0i3;�s30;&#xt30s;0.../IfPropertyExists0/3;�I30;༰P;0r3;�o30;&#xp30e;0r3;�t30;&#xy30E;0x3;�i30;&#xs30t;0s3; PhysicalAddress0P3;�h30;&#xy30s;0i3;రਰl;ィരരr;ャ�s30;&#xs300;.../PhysicalAddress0/3;�P30;&#xh30y;0s3;�i30;쌊0l3;ਰ팍0r3;ะ&#xs30s;0 Property0P3;�r30;&#xo30p;ャ�r30;&#xt30y;0.../Property0/3;�P30;&#xr30o;0p3;ะ&#xr30t;0y3; SignupBox0S3;�i30;&#xg30n;0u3;�p30;ରo;0x3;.../SignupBox0/3;�S30;&#xi30g;0n3;�u30;&#xp30B;0o3;0 SignupLink0S3;�i30;&#xg30n;0u3;�p30;&#xL30i;0n3;�k30;.../SignupLink0/3;�S30;&#xi30g;0n3;�u30;&#xp30L;0i3;�n30;&#xk300; &#xSimp;&#xleUR;&#xLPro;&#xpert;&#xy000;&#x/Sim;&#xpleU;&#xRLPr;&#xoper;&#xty00;SimpleURLProperty.../SimpleURLProperty Advanced Editor User’s Guide Page 23 ©Constant Contact, Inc. All rights reserved. 2/08 Property Tags Constant Contact has several tags for dening properties that hold information about your email (not all of these are available to you). These include: ImagePr&#xImag;Pr1;ope;&#xrty0;operty Pr&#xPr18;&#xoper;&#xty00;operty Pr&#xPr18;&#xoper;&#xtyPa;&#xir00;opertyPair SimpleURLPr&#xSimp;&#xleUR;&#xLPr1;ope;&#xrty0;operty URLProperty The value for these properties are stored in a Constant Contact database. These properties contain default values as specied in a standard template. When you enter information in the Wizard and save it, the properties are updated with your information. When you click Preview, Constant Contact dynamically builds the email, displaying the current values for the properties from its database. and holds the title of your email: A user edits the title box in the Wizard... click Preview. Advanced Editor User’s Guide Page 24 ©Constant Contact, Inc. All rights reserved. 2/08 Block Tags Constant Contact template designers use Block tags with HTML to control the layout of your email. Block tags Intr&#xIntr;od;&#xucti;&#xon00;oduction Pr&#xPr18;&#xomot;&#xion0;omotion These tags also control the Wizard layout. For example, an email containing the code: Article title=”Article rti; le ;`ti;&#xtle=; rti; le ;怐1” ...code to layout article email and that appear on article page of Wizard creates the Wizard as shown below: Many of the Constant Contact tags determine the appearance of the Wizard and have no affect on the emails that are generated. Only a few tags are used for modifying your email. These are listed in “Constant Contact Tag Overview” starting on page 21. The article appears as a button on the sidebar, and displays this article page when clicked. The article title displays as a label on the button and on the banner of this page. Advanced Editor User’s Guide Page 25 ©Constant Contact, Inc. All rights reserved. 2/08 Wizard Display vs. HTML Mode Display the Wizard. If you used the Wizard to create your email, you may notice that the information from the Wizard does not display in the HTML mode in the Advanced Editor. This is because Constant Contact provides some basic func tionality and requirements for every email. The Wizard automatically displays the following pages: Message Header Contains the email’s subject, contact person, and from and reply email addresses. The wizard also allows you to choose to display a permission reminder at the top of your email. Message Footer Contains general required account information such as your physical address. Use the Wizard to add links to allow contacts to forward this message to a friend or to join your email list. Global Fonts and Contains style information for many elements that display in the Wizard. This tool allows you to specify font styles and colors, and change the colors of some graphic elements of the layout (i.e., background color). Tag Reference The following section provides a reference for the Constant Contact tags that are available to you. You can add and Denes a link in your email to encourage email contacts to conrm their email addresses. This is NOT industry stan dard. The onr;&#xmOpt;&#xin00;ConrmOptin tag is only useful for changing the appearance or behavior of the permission reminder link. Constant Contact automatically supplies this tag in a Wizard edit box when you select Permission Reminder in the Message Header section. Message Body Optional Attributes Value Name of the style class (from the Style mode) that contains font and color information for this tag. Do not send the contact welcome Reference the link style by specifying a class, for example, ConrmStyle: Advanced Editor User’s Guide Page 26 ©Constant Contact, Inc. All rights reserved. 2/08

SimpleURLPr&#xSimp;&#xleUR;&#xLPr1;ope;&#xrty0;operty.../ SimpleURLProperty Enables click-through tracking and formats an URL that you add in the Advanced Editor. Property, Message Body Required Attributes Value Name of theURL or image le such as “mylink”. Simple plain URL. Default value. A mailto link (not trackable). A mailto link with a veried email address. Optional Attributes Value Sample format caption that displays in the Wizard. URL link. this is the same as the href attribute in the anchor ꀀa tag, if an anchor tag is specied. Don’t spellcheck the property. Spellcheck the property. URL of image le or label of the hyperlink. If neither is specied, Constant Contact used the value of href as its URL of image le or label of the hyperlink. If neither is specied, Constant Contact used the value of href as its Advanced Editor User’s Guide Page 40 ©Constant Contact, Inc. All rights reserved. 2/08 Value This property cannot be a blank value. This property can be a blank value. Caption that displays in the Wizard. Include tracking for the URL. Default value. Do not include tracking for the URL. Example #1: The following example tracks a text link specied with the SimpleURLProperty: title=”Website Address” a href=” Displayed Result In the Wizard Advanced Editor User’s Guide Page 41 ©Constant Contact, Inc. All rights reserved. 2/08 In the Email Example #2: The following example tracks a text link specied with the SimpleURLProperty (Custom XHTML): SimpleURLProperty name=”constantcontact.url” track=”true” type=”plain” label=”Click here to go to Constant Contact” Displayed Result In the Wizard Advanced Editor User’s Guide Page 42 ©Constant Contact, Inc. All rights reserved. 2/08 In the Email Advanced Editor User’s Guide Page 43 ©Constant Contact, Inc. All rights reserved. 2/08 Using Predened Variables Account variables are information about your account. Constant Contact gets this information from you when Contact variables are information you have collected about your contacts so that you can personalize your Both types of variables are stored in a Constant Contact database that is associated with your account. This chapter discusses how to use account and contact variables in your emails. Account Variables Account variables are standard bits of information about your organization that are likely to be the same in most, if not all, of your emails. ous text boxes of the Wizard. You cannot add additional account variables. The following table lists the account variables used by Constant Contact. It also lists examples in existing templates so that you can see how these properties appear in XHTML. Account Constant Contact Variable Template Usage Organization name Title on Introduction page of all tem plates. Also used in any prompt for your organization name. Website address Web Site on Email Signature page in tions. Also used as default value for Text Link URL anywhere an URL ap Signature phone on Contact Info page in news letters and press announcements, and Email Signatures page in business Signature email address on Contact Info page ments, and Email Signature page in Signature name Contact Name on Contact Info page in press announcements and news Signature Name on Email Signature page in business letters, events, and promotions, and Signature on Intro page of Modern and Advanced Editor User’s Guide Page 44 ©Constant Contact, Inc. All rights reserved. 2/08 Account Constant Contact Variable Template Usage Default forward to a friend link name Forward Email to a Friend checkbox on Message Footer page of all templates. Default contact link Subscribe Me checkbox in Message Footer page of all templates. Default logo URL Logo URL on Introduction page of all ture image Signature URL on Email Signature promotions. Signature URL on Intro page of Modern and Stylish Outline Physical address line 1 on Event pages of most event templates, and address on Message Footer page of all templates. Physical address line 2 on Event pages of most event templates, and address on Message Footer page of all templates. Physical address line 3 on Event pages of most event templates, and address on Message Footer page of all templates. on Event pages of most event templates, and address on Message Footer page of all templates. State (full name) on Event pages of most event templates, and address on Message Footer page of all templates. Not used in current templates. US state (two letter abbreviation) Not used in current templates. Country code Not used in current templates. Physical address postal code Zip Code on Event pages of most event templates, and address on Message Footer page of all templates. Account Variable Changes You can change many account variables from Manage My Settings. Remember that this changes the settings for all future emails. To change account variables: From the Constant Contact main menu, click the Edit Organization Info Edit Signature Info , or Edit Address Advanced Editor User’s Guide Page 45 ©Constant Contact, Inc. All rights reserved. 2/08 Make the desired changes. Contact Properties Contact properties are variables that allow you to personalize emails using the information that is stored in your Constant Contact database. List of Contact Properties Your database can contain the following contact information: Contact Property Constant Contact Variable Input File Heading Email address Email Address, E-mail Address, or First name First Name Middle name Middle Name Last (family) name Last Name Mailing address line 1 Address Line 1 Mailing address line 2 Address Line 2 Mailing address line 3 Address Line 3 Mailing address city State name Postal (zip) code Postal Code Sub Postal (zip) code Sub Postal Code Country code Country name Home phone number Home Phone Company name Company Name Work phone number Work Phone Job title Job Title Custom eld 1 Custom eld 1 Custom eld 2 Custom eld 2 Custom eld 3 Custom eld 3 Custom elds 4-15 Custom eld Contact Data When you upload your contact list, Constant Contact keeps track of any data you collect about your contacts. Another way to populate your contact list is by adding the Site Visitor Signup Form to your web site. To collect data from new contacts: Login to Constant Contact. Click the Site Visitor Signup Edit Visitor Signup Form Contact Info Advanced Editor User’s Guide Page 46 ©Constant Contact, Inc. All rights reserved. 2/08 Click the box next to each item to select the information you want to collect. Specify the order you want the questions to display by typing numbers in the Order boxes next to each item. Uploading Contact Data Any data you have collected about your contacts can be used in your emails. In addition to the standard contact information, Constant Contact can collect information in fteen custom elds, which gives you great exibility in writ ing personal emails. car’s make, model, year, and color. You can store the car’s make in custom eld 1, model in custom eld 2, and so on. You might use Job Title to keep track of your organization’s ofcers or “premium” contacts. To upload contact data: Save a copy of your database in one of the following formats: Comma separated values (. Text (.txt) Even though all three formats are supported, .csv les tend to import with the fewest errors. Rename the column headings to match Constant Contact contact variables as listed in the above table. Decide what information you might want to include in emails, and rename the custom headings appropriately. The headings do not need to be in any particular order and case does not matter, i.e., City is the same as city. From the Constant Contact main menu, click the merge, copy or move contacts from one list to another. Select a list (or lists) to add names to, and click Enter the information as directed, and click Submit Data Where Variables Display in the Advanced Editor Typically, account and contact variables display where the associated variable is dened with the Constant Contact tags Pr&#xPr18;&#xoper;&#xty00;operty or Pr&#xPr18;&#xoper;&#xtyPa;&#xir00;opertyPair. Property Tag Advanced Editor User’s Guide Page 47 ©Constant Contact, Inc. All rights reserved. 2/08 generates an email. For example, most emails contain code to display a title so that your organization or company name displays as the title of the email by default: !-- BEGIN: Subtitle &#x!-- ;悾&#xGIN:;&#x 60S;&#xubti;&#xtle ;`--;-- IfPropertyExists name= !-- END: Subtitle &#x!-- ;؎N; : 6;�Sub;&#xtitl; 60;&#x--00;-- As shown in the gure below, when you preview or actually send the email, Constant Contact looks up the value you supplied in the Title edit box of the Wizard to display the title: PropertyPair Tag You often see account properties dened with the PropertyPair tag, where the rst tag holds the label and the sec ond tag holds the value. dress (which is stored as $Account.SiteURL). PropertyPair name= Website Address Property name= SimpleURLProperty href= Advanced Editor User’s Guide Page 48 ©Constant Contact, Inc. All rights reserved. 2/08 a class=”SignatureLink” href=”$Account.SiteURL” As shown below, the email signature block displays a label, and the value for the web site: Explanation of Pr&#xPr18;&#xoper;&#xty00;operty Tag Most of the within the Property tag are used to control how the tag appears in the Wizard, and are ignored Paragraph 1 If you are editing a Constant-Contact template, you have limited choices when naming a property; you can’t just Common Tasks Using Contact Properties Contact properties are a great way to personalize your emails and send a more effective message. This section explains how to add them to your emails. Please note that Constant Contact properties will only work with XHTML code. Adding Contact Information Adding contact properties is similar to adding account variables. To add a contact property in your email, insert it Welcome to Advanced Editor User’s Guide Page 49 ©Constant Contact, Inc. All rights reserved. 2/08 our fair city! In this example, the IfPropertyExists tag displays its contents (a comma) only if the property name, subscriber.city, Welcome to Boston, our fair city! If it does not exist, IfPropertyExists tag displays the comma only. Welcome to, our fair city! When previewing your email after adding your contact properties, Constant Contact is not actually resolving the values of any contact data. Instead, it matches as much information as possible from your account information and Using Contact Custom Field Information Please note that contact custom elds will only work with XHTML code. The following code is an example using contact custom elds. The contact list for this sample email is for a parents’ club of a boy’s school. The Job Title eld contains information about club ofcers, custom eld 1 contains the con tact’s student’s name, and custom eld 2 contains his graduation year. Property name= of our organization, we want to offer you a special service. Your son Property name= of the Class of Property name= will be ordering his class ring soon. For your efforts, we are providing you with a coupon that entitles you to a 25% discount. Advanced Editor User’s Guide Page 50 ©Constant Contact, Inc. All rights reserved. 2/08 When you schedule the email, Constant Contact expands the contact variables. In this example they are “Record’g Locating Variables and Paragraphs in Your Email When you replace a paragraph in an email, you are actually replacing the entire property tag with your text. Locate where you want to put your paragraph, and nd the current variable. Replace the existing paragraph with your text. In the following example, the paragraph is within a ForEachᓱo14;&#xr14E;ᒡ䰔&#xh140; loop (which allows you to add additional paragraphs in the Wizard). Since the Wizard code is meaningless in your email, you can comment out the entire paragraph. To avoid unnecessary coding errors, Constant Contact recommends that you enclose unwanted code in a com ForEach end= Property font= Introductory Paragraph Please be our guest... add a short description of the event(s). You might include what the event is about and why they are invited to attend. Replace the introductory paragraph with your paragraph. To add to the current paragraph, place your text the property tag but before the end paragraph tag as shown: Property font= Introductory Paragraph Please be our guest... Appending to the paragraph. Advanced Editor User’s Guide Page 51 ©Constant Contact, Inc. All rights reserved. 2/08 Avoid ForEach Loops When adding information, be sure to avoid locating anything within a orE;¬h0;ForEach loop. In the following example, a forward link was added (using the Forwardᓱo14;&#xr14w;ᒡr32;텀 tag) inside a ForEachᓱo14;&#xr14E;ᒡ䰔&#xh140; loop and outside the loop. Only the link located outside the loop displays. ForEach end= Property font= Introductory Paragraph Please be our guest... add a short description of the event(s). You might include what the event is about and why they are invited to attend. Forward class= Link Inside ForEach Loop &#x/p00;/p !--Doesn’t show &#x!--D;&#xoesn;&#xt 60;&#xshow;&#x 60u;&#xp!--;up!-- Forward class= Link after ForEach Loop &#x/p00;/p !--Link shows &#x!--L;&#xink ;`sh;&#xows ;`up;&#x!--0;up!-- Tables and Overall Layout It is important to understand the overall layout when adding variables in the middle of your email. Like many web- based documents, Constant Contact templates use nested tables to control the document’s layout. Templates de ne an outermost table to specify the size of the entire document and then use inner tables to layout the title, sidebar, desired visual effect. Before you add any information to your email, you might want to browse through the code looking for denitions of Advanced Editor User’s Guide Page 52 ©Constant Contact, Inc. All rights reserved. 2/08 Customizing Emails Constant Contact offers many different ways for you to customize emails. This chapter brings together all of the tools – styles, tags, and variables – to provide an overview of steps to design and test your email. Creating a custom email involves many specic steps. You can either modify an existing Constant Contact template, or import your own design (in HTML or XHTML). Most common is to create your own HTML or XHTML in another editor, such as HomeSite or Dreamweaver, and to import that code. The basic steps to create a custom email include: Create and edit the email in the Advanced Editor. Preview the email to test it. Debug the email. Test the email by sending it to yourself. Click all links in the email to make sure they work. Preparing Your Design tool such as Dreamweaver or HomeSite. If you intend to use the XHTML functions, convert your HTML code to XHTML before adding it to the Advanced Editor. For a list of common coding mistakes that occur when using XHTML, see “Common XHTML Errors” on page The Advanced Editor checks your code for syntax errors, but it is not intended to be a full-blown web editor tool. You can use either HTML or XHTML for your custom email. Each language has advantages and disadvantages as shown in the following table: Custom Template Simpler. Automatically tracks click through links. No control over Constant Contact features, including contact variables. Can’t use Constant Contact tags (the only property that is Advanced Editor User’s Guide Page 53 ©Constant Contact, Inc. All rights reserved. 2/08 Custom Template More robust than HTML. Can use Constant Contact tags. Can modify styles with the style Requires strict XHTML. Must add additional code to your links in the Advanced Editor to enable click-through A Note About Link Tracking Constant Contact reports statistics on email opens and click-throughs. “Opens” are those emails your contacts received and viewed. “ Click-throughs” report on contacts who clicked on a link in your email. opens count is useful but not completely accurate. Opens track when a 1px by 1px image that we embed in the email is loaded. Therefore, it does not track text-only emails or email clients that open emails without images. However, if contacts click a link, it is tracked as an open, since contacts obviously opened the email if they clicked on a link. So, Constant Contact tracks Click-throughs are based on unique clicks rather than the number of times a contact clicks on a particular link. Therefore, if the same contact clicks on a link more than once it is only counted as one click-through. Image Maps In a custom HTML email, if an image map tag exists, and the hyperlink is to a mailto: link, if the tag is closed like the following example... area shape=”rect” coords=”88,23,166,38” ...the hyperlink will be inactive. Simply removing the closing forward slash will make the link active again. Leaving a closing forward slash in a normal hyperlink to a URL will work in the custom HTML template. Leaving a closing forward slash after a mailto: link in a custom XHTML template will work. But - Leaving a closing forward slash after a mailto: link in a custom HTML template will NOT work. Constant Contact does not track image maps or mailto: links. Creating a Custom Email If you have your own HTML design, you can copy it into the custom template. Using Your Own Code To create a custom email from your own code: Login to your Constant Contact account. From your home page, click Create an Email Select Use the Classic Email Wizard and click Advanced Editor User’s Guide Page 54 ©Constant Contact, Inc. All rights reserved. 2/08 In the Template Picker, select Custom Template and click Choose either: – If you are supplying HTML code – If you are supplying strict XHTML code and use Constant Contact tags Enter all relevant information in each page of the Wizard. Be sure to modify the Global Colors and Fonts page to make any desired global style changes. Advanced Editor In the mode, add your HTML (or XHTML) code below the line: !-- Enter your custom HTML here. &#x!-- ;؎n;&#xter ;`yo;&#xur 6; us;&#xtom ;`HT;&#xML 6;�her;. 6;�--0;-- and ody;body. In the mode, dene the styles referenced in the HTML code. Refer to “Dening and Adding Styles” in Use only alphanumeric characters in style names to avoid errors. You can use any CSS styles; however, not all styles are supported in email applications. Do include comments in Style mode. Preview If desired, add contact variables to personalize your emails as described in “Common Tasks Using Contact Properties” in chapter 4. If you are using XHTML, refer to “Types of Tags” in chapter 3 to see what Constant Contact tags you might want to use to further customize your email. Update the Text version of the email in the same way you updated the HTML version by repeating the above steps. Insert the desired text just after the &#x/Cus;&#xtomB;&#xlock;/CustomBlock tag: The code in Text View must also be strict XHTML. Perform nal testing before scheduling your email as described in “Testing your Email” in chapter 5. If you already have a custom email that you want to use with new Constant Contact features, you need to convert your email. Go to Chapter 6 for step-by-step instructions to follow. Advanced Editor User’s Guide Page 55 ©Constant Contact, Inc. All rights reserved. 2/08 Debugging your Email As you work in the Advanced Editor, click Preview periodically to see your progress. If errors occur, no preview dis plays. Instead, error messages display in red above the Advanced Editor text window. Tip: Line Numbers Reported by Advanced Editor Constant Contact reports the line number on which an error appears. The line number reported is not always the exact location of the error. Rather, it reports the line containing the end tag of the block in which the error occurred. To locate the line: Select all (Ctrl-A) the text in the window. Copy (Ctrl-C) and paste (Ctrl-V) the contents into any text editor that supports line number, such as If using Notepad, type Ctrl-G and the line number reported to locate the error. (FormatWord Wrap must be turned off for this feature to work.) In the following example, even though the error occurred in line 5, the line number reported is 7, which is the end tag of the code element that contains the tag in question. 1. &#xtabl;table 2. &#xtr00;tr 3. &#xtd00;td 4. Some custom text here: 5. r00;br !-- Invalid XHTML syntax &#x!-- ;`In;&#xvali; 60;&#xXHTM;&#xL 60;&#xsynt; x 6;�--0;-- 6. More custom text here 7. &#x/td0;/td !-- Line number of reported &#x!-- ;`Li;&#xne 6;�num;¾r ;`of;&#x 60r;por;&#xted ;؎r;&#xror-;error-- 8. &#x/tr0;/tr 9. &#x/tab;&#xle00;/table Testing your Email Once your email previews correctly, you need to make some nal checks: If you used contact variables, create a test list and schedule the email to yourself. Click all your links to make sure they work. Different email clients render HTML and XHTML email differently. It’s recommended that you send a test email to several of your friends who use different email clients. Common XHTML Errors guidelines. This section lists some common errors. It also describes exceptions where Constant Contact veers from Advanced Editor User’s Guide Page 56 ©Constant Contact, Inc. All rights reserved. 2/08 You will see that Constant Contact tags are in upper and lower case; standard XHTML must be in lower case only. a 60;&#xhref;&#x=htt;&#xp://;&#xpare;&#xntsc;&#xlub.; iz0;href=”http://parentsclub.biz” img src=”http://parentsclub.biz/images/homepage.gif” &#ximg ;`sr; =ht;&#xtp:/;&#x/par;nts; lub;&#x.biz;&#x/ima;&#xges/;&#xhome;&#xpage;&#x.gif;&#x 60/;/ !-- End Image Tag often forgotten! &#x!-- ;؎n; 60;&#xImag; 60;&#xTag ;`of;&#xten ;؏o;&#xrgot;&#xten!;&#x 60-;-- XHTML supports empty tags such as OpenTracking &#xOpen;&#xT92r;¬ki;&#xng 2;/00;/ Close all list elements &#xli00;(li). For example: &#xli00;liBlack &#x/li0;tea/li &#xli00;liGreen &#x/li0;tea/li &#x/li0;/li !-- Often forgotten. &#x!-- ;`Of;&#xten ;؏o;&#xrgot;&#xten.;&#x 60-;-- Make sure the HTML end tags appear in the same order as their corresponding begin tags. The following is an example of incorrect code: td &#xtd 6; li;&#xgn=c;nte;&#xr000;align=”center”font size=”2” input type=”text” name=”ea” &#xinpu;&#xt 60;&#xtype;&#x=tex;&#xt 60;&#xname;&#x=ea ;`si;&#xze=2;Psize=”25” &#x/inp;&#xut00;/input input type=”submit” name=”go” &#xinpu;&#xt 60;&#xtype;&#x=sub;&#xmit ;`na;&#xme=g;&#xo 60;&#xvalu;=Go;value=”Go” &#x/fon;&#xt000;/font !-- Wrong Order &#x!-- ;`Wr;&#xong ;`Or;Þr ;`--;-- &#x/inp;&#xut00;/input &#x/td0;/td This is the correct order: td &#xtd 6; li;&#xgn=c;nte;&#xr000;align=”center”font size=”2” input type=”text” name=”ea” &#xinpu;&#xt 60;&#xtype;&#x=tex;&#xt 60;&#xname;&#x=ea ;`si;&#xze=2;Psize=”25” &#x/inp;&#xut00;/input input type=”submit” name=”go” &#xinpu;&#xt 60;&#xtype;&#x=sub;&#xmit ;`na;&#xme=g;&#xo 60;&#xvalu;=Go;value=”Go” &#x/inp;&#xut00;/input !-- Correct Order &#x!-- ;،o;&#xrrec;&#xt 60;&#xOrde;&#xr 60;&#x--00;-- Advanced Editor User’s Guide Page 57 ©Constant Contact, Inc. All rights reserved. 2/08 quotes for all attribute values. For example, table &#xtabl; 28;&#xwidt;&#xh=10;�%00;width=”100%”. You cannot minimize attributes. For example: hr noshade0h3;�r30;&#x 90n;0o3;�s30;&#xh30a;ビะ is a valid HTML element as the “noshade” attribute only has one possible value that is “noshade”. In XHTML you would write hr noshade=”noshade” &#xhr 6;�nos;&#xhade;&#x=nos;&#xhade;&#x 60/;/ as the “noshade” attribute cannot be minimized. For imgi1;m14;&#xg140; tags, the id attribute replaces the name attribute. For compatibility, commonXHTML practice is to supply both attributes as shown: img src=”picture.gif” id=”picture1” name=”picture1” &#ximg ;`sr; =pi; tur;.gi; 60;&#xid=p;&#xictu;&#xre1 ;`na;&#xme=p;&#xictu;&#xre1 ;`/0;/ Constant Contact emails do not use the id attribute, but you can add it in the Advanced Editor. &#xu000;u tags. XHTML recommends that you replace the HTML ont;font tag with CSS styles; however, you will use in Constant You will notice that Constant Contact uses deprecated tags such as align and valign. Even though the tags are dep recated in XHTML, you can still use them in your Constant Contact emails. .EventList { color: #000066; text-align: left; Advanced Editor User’s Guide Page 58 ©Constant Contact, Inc. All rights reserved. 2/08 Best Practices standards for most email clients, it has to be effective at communicating a specic message. Without careful coding techniques, your design can result in the recipient not seeing what you originally intended for them to see. Here are some guidelines to help insure your well-designed template creates an effective custom email and displays correctly. General Design Guidelines With the Advanced Editor, you can make expansive changes to your emails. However, for best results, follow these best practices and coding constraints. Know Your Audience Know who you are talking to. As long as you know your contacts’ email preferences, you can customize your emails accordingly. Maximize Performance Constant Contact emails are designed to be as small as possible to maximize performance. For example, we avoid wasted characters by not using the HTML alt or id attributes in image tags. Keep le size in mind when designing custom emails. Tables, Width, and Nesting els, the optimum width for displaying emails in most email applications. Do not nest more than four levels of tables, as this causes problems in some email applications. Color Flexibility Don’t use more than ve colors in an email. Additionally, the colors should complement each other. Coding Standards Custom XHTML templates must be XHTML compliant. The following are some Constant Contact best practices. r/0;br/ and Some email applications do not recognize the XHTML r/0;br/ tag for specifying line breaks, and the r00;br &#x/br0;/br syn tax poses display problems for other email applications. Work around these restrictions by using iv0;div to specify line breaks, as follows: !-- BEGIN: spacer code in place of r/0;br/ r/0;-- iv0;divline of text to display &#x/div;/div !-- END: spacer code in place of r/0;br/ r/0;-- Even though the ont;font tag is deprecated, use this tag to specify font styles. If you reference a class on the font tag, Constant Contact automatically generates the ont;font attributes and inline styles. This is to support some web-based email applications that strip inline styles. Advanced Editor User’s Guide Page 59 ©Constant Contact, Inc. All rights reserved. 2/08 For example, you have the following code in your template: font ont;&#x 60c;&#xlass;&#x=Mai;&#xnTex;&#xt000;class=”MainText”some text &#x/fon;&#xt000;here/font Constant Contact generates this in the email: FONT-SIZE: 12pt;FONT-WEIGHT: bold;COLOR: #312200;”some text &NBSP; and & The HTML standard does not support multiple blank spaces; they are treated as a single space. Use the special character   to force multiple spaces. This is also useful if you want to specify a non-breaking space. If you use an ampersand (&) in your design, Constant Contact converts it to &, which is required for XHTML. Make liberal use of comments throughout your code to help identify main sections within the HTML code. For ex !-- BEGIN: Introduction Section &#x!-- ;悾&#xGIN:;&#x 60I;&#xntro; uct;&#xion ;`Se; tio;&#xn 60;&#x--00;-- HTML coding here !-- END: Introduction Section &#x!-- ;؎N; : 6;�Int;&#xrodu; tio;&#xn 60;&#xSect;&#xion ;`--;-- HTML Tags as Text Any text within Pr&#xPr18;&#xoper;&#xty00;operty tags which uses html tags has to be included in the txt attribute. For example, if r/0;br/ is used, it must be declared in the txt attribute as “<br />” (encode the “” and &#x 28a;&#xnd 2;耀“” characters). Another example Product Feature 5 Warranty: 3 years parts and Warranty: 3 years parts and Every email has its own internal style sheet, which Constant Contact converts into inline styles when the email is All styles must be dened as a class and each class selector must begin with a period. See Chapter 2, Using Styles for more information. Advanced Editor User’s Guide Page 60 ©Constant Contact, Inc. All rights reserved. 2/08 Additional Email Design Resources You can nd a lot of information about designing emails effectively on the Constant Contact website. Some links From the home page, click Learning Center Log in to the Constant Contact website, then click . Click Search Our FAQs . Search Emails: Create , with keyword phrase of Coding in HTML Advanced Editor User’s Guide Page 61 ©Constant Contact, Inc. All rights reserved. 2/08 r/0;br/ tag iv0;div tag ont;font tag &NBSP; and & tags Account Variable Changes Account Variables Advanced Editor user interface Background property, CSS Best Practices Block Tags border property, CSS click-throughs Comments, HTML Best Practices Common XHTML Errors ConrmOptIn Constant Contact Tags Contact Data Contact Properties CSS Syntax CSV format database of contacts data, Contact debugging font property, CSS Footer Advanced Editor User’s Guide Page 62 ©Constant Contact, Inc. All rights reserved. 2/08 ForEach Loops Forward HTML Mode IfPropertyExists line numbers of errors Link Tracking list property, CSS mail.com mailto margin property, CSS notepad opens count Outlook Outlook Express padding property, CSS PermissionReminder PhysicalAddress Property PropertyPair Tag Property Tag Property Tags quotes, dening attributes with SignupBox SignupLink SimpleURLProperty Advanced Editor User’s Guide Page 63 ©Constant Contact, Inc. All rights reserved. 2/08 Spacer Images Style Mode Tables Testing your Email Text Mode text property, CSS URL Property view source code web pages - emails versus web pages website address wizard layout XHTML Yahoo! Advanced Editor User’s Guide SafeUnsubscribe, Speak Up, Survey 101, Survey Hints & Tips and The Smart Way to Reach Your Customers are trademarks, service marks, or registered trademarks or service marks of Constant Contact, Inc. All other company and product names may be trademarks or service marks of their respective owners. Restricted Rights Legend the Rights in Technical Data and Computer Software clauses as DFARS 252.227-7013 (October 1988) and FAR 52.227-19 (c) (June 1987). or disclosure. production is prohibited without the prior express written consent of Constant Contact, Inc. For inquiries regarding reproduction or distribution of any Constant Contact material, please contact legal@constantcontact.com. Trademarks 1601 Trapelo Road Suite 329 Waltham, MA 02451 www.constantcontact.com Constant Contact, Inc. reserves the right to make any changes to the information contained in this publication without prior notice. Copyright © 1996-2008, Constant Contact, Inc. all rights reserved. Unpublished – Rights Reserved under