The caption attribute determines the caption text for a survey item or button.
<button> <caption> <checkboxes> <dropdown> <image> <listbox> <radiobuttons> <slider> <surveypage> <textbox>
text | A string in quotes serving as caption for the survey item. |
The default is no caption.
Captions can be richly formatted using a subset of supported HTML markup tags. For example, markup tags can be used to make selected words appear in bold, italics, a different font, or a different color. For more information on formatting options, see Using HTML Markup in Text
The following presents a textbox question with a caption "What is your name?".
<textbox question1>
/ caption = "What is your name?"
/ textboxsize=(200, 100)
</textbox>