How To Use HTML Tags And Spans In Text Strings and Prompts

You can use HTML tags in a step's text string. For example, the word "Continue" will be italicized in the following text string "Press<i>Continue</i> after you've selected the customer" (the <i> and </i> are the HTML tags used to indicate that the surrounded text should be italicized).

The following are other useful HTML tags:

  • <br/> causes a line break in a text string. If you use <br/><br/> a blank line will appear.
  • <span class="textColorRedOnWhite"> text </span> causes the surrounded text to be colored as specified (in this case, red). You can also use hex codes rather than the color name.

Please refer to an HTML reference manual or website for more examples.

Note: Refer to Color Contrast for information about the use of the HTML color 'red' and its impact on accessibility.