Some methods accept values with rich text, which you format using a subset of standard HTML tags and CSS styles.
<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)styledirstyle propertiesfont-facefont-sizefont-weightfont-styletext-decorationcolorbackground-colortext-alignmargin-lefttext-shadowline-heightletter-spacingFor strings in your code defined with double quotes, any double quotes in the string need to be escaped using \.
Example:
"<p><span style=\"color:#cb2026\">This is red text</span></p>"'<p><span style="color:#cb2026;">This is red text</span></p>'