Formatting Text

June 22, 2016

Question texts and static-texts can be formatted with a series of html tags. The html tags that can currently be used in Survey Solutions are described in this article.  

Line break
Use  <br> to insert a line break. 
Use  <i> *to begin the use of italics. Then, use* </i> when you want to discontinue the use of italics. 
Use <u> to begin the use of underline. Then, use </u> when you want to discontinue the use of underline. 
Use<tt>to begin the use of Teletype. Then, use</tt> when you want to discontinue the use of Teletype.
Big. Use <big> to begin the larger text. Then, use </big> to discontinue the larger text.
Small. Use <small>to begin the smaller text. Then, use </small> to discontinue the smaller text.
Subscript. Use <sub> to\ begin\ subscript.\ Then,\ use </sub> to discontinue style. 
Superscript. Use <sup> to\ begin\ superscript.\ Then,\ use </sup> to discontinue style.
Other supported tags are: <blockquote>, <cite>, <dfn>, <em>, <p>, and <strong>

To change the color of the text use <font color=“colorname”></font>. For example, use <font color=“red”> and type in the text. Then, use </font> to discontinue the color change.

Standard (case-insensitive) color names as per HTML 4.01 specification are available:

In addition to the above mentioned named colors any other color may be applied by directly specifying its RGB value.



In Questionnaire Designer

On a tablet