Resolve common HTML issues in custom email templates
Custom email templates require beginner-level HTML knowledge. If you want, you can start by using the HTML from a sample email and modify it as needed.
#PARTICIPANT_FULL_NAME#,
<br>
<br>
You are receiving this message because you have agreed to participate in the COVID-19 Community Research Partnership study with #ORGANIZATION_NAME#.
<br>
<br>
#HIPAA_NOTICE#
<br>
<br>
Click Get Started to confirm your information and answer a few questions about how you're feeling today.
<br>
<br>
Thank you for participating in this vital effort. Your experience will help the medical community understand more about COVID-19 preventative measures and precautions.
<br>
<br>
If you have questions about this research study, you can call #SUPPORT_PHONE# or email #SUPPORT_EMAIL#.
See the following table for tips on how to resolve common HTML issues in your custom email.
Issue | Solution |
---|---|
I need to insert a line break or two for readability |
Insert a line break using the following tag:
For instance:
|
The formatting is extending beyond where I expect |
In HTML, every tag has a opening tag, such as
If you're having trouble remembering to close your tags, you might want to download a free text editor, such as Notepad++, that helps you work with HTML code. For example, when you select an opening tag in Notepad++, the closing tag is also selected, so you can quickly check for missing closing tags as you work. |
My headings are formatted incorrectly |
The following heading tags meet most organizations' needs:
Heading 1 is typically the largest-sized text, and each subsequent heading level is smaller in size. |
I need to bold or italicize some text |
Here are some common formatting tags for bold and italicized text:
|
I need to insert a bulleted list |
The
You can also nest your lists. For instance:
|
I need to insert a numbered list |
You create a numbered list the same way you create a
bulleted list, just with a different tag:
You can also nest your lists, and combine different list types. For instance, in the following example, the first-level list is numbered, and the second-level list is bulleted:
|
I need to insert a link to a web page |
You don't need to be able to code a link using HTML. Instead, you can use the following markup shortcuts. Replace the italicized text with the appropriate text for the link and URL. The text in brackets appears to in the email, and the text in parentheses is the link.
For example:
|
I need to insert a link to an email address |
Replace the italicized text in the following example with the appropriate email address and text that appears for the email link. The text in brackets appears to in the email, and the text in parentheses is the email address.
For example:
|
I need to insert a link to a phone number |
Replace the italicized text in the following example with the appropriate phone number and text that appears for the phone number. The text in brackets appears to in the email, and the text in parentheses is the telephone number.
For example:
|
I need help inserting placeholder text |
Replace the italicized text in the following example with the appropriate introductory text. The text in brackets appears to in the email, and the text in parentheses is the contact information.
For example:
|
Parent topic: Create the emails that participants receive