HTML in text form properties
You can use HTML tags to format text properties of communication plan email messages.
When supported HTML tags are inserted into a form property, email messages display the formatted property. Unsupported HTML tags and their content are ignored and displayed as plain text.
Supported HTML tags display formatting in email notifications only. HTML tags are rendered as plain text in SMS, push, and fax notifications.
- <h1>, <h2>, <h3>, <h4>, <h5>, <h6>
- <table>, <tr>, <th>, <td>
HTML attributes are only permitted for the <a> and <img> tags, as noted below:
- <a>: href, title
- <img>: src, width, height, alt, title
Other attributes that are included in form properties are removed from email output.
The following example demonstrates how HTML in a text form property is displayed in email and SMS notifications.
The supported tags, such as <strong> and <code> are rendered as HTML in the email message but not the SMS message. Unsupported tags such as <u> are displayed as plain text in both formats.
HTML in a text property
HTML formatting in email and SMS messages
Other text-based property types, including combo box, hierarchy, and list form properties accept HTML formatting. The HTML tags are visible in the communication plan messaging layout, but are rendered in email notifications.
To access combo box, hierarchy, and list form properties programatically, it is necessary to specify their exact values, including spacing.