Select parameters currently accept values with rich text, which can be formatting using a subset of standard HTML tags and CSS styles. The formatting of the text does not need to be uniform throughout. Different parts of the content can be formatted differently.
Note:
For strings identified by double quotations, any internal double quotations within the string need to be escaped using \
. This is not necessary for strings identified by single quotes that are not passed as a JSON object.
Example:
"<p><span style=\"color:#cb2026\">This is red text</span></p>"
'<p><span style="color:#cb2026;">This is red text</span></p>'
<p>
(Paragraph)<h1>
, <h2>
, <h3>
, <h4>
, <h5>
, and <h6>
(Headings)<a>
(Anchor/link)<span>
(Inline)<strong>
(Bold)<em>
(Italicize)<u>
(Underline)<ul>
, <ol>
, and <li>
(Lists)<br>
(Line break)style
dir
style
propertiesfont-face
font-size
font-weight
font-style
text-decoration
color
background-color
text-align
margin-left
text-shadow
line-height
letter-spacing