TQS Home
Trivia Quiz Shell Version 2.8 Now Available!Bot Productions Home
TQS 2.0

Back to Reference

Q Element

Contains the question that is presented to the user.

Syntax
<Q>q</Q>
Attributes

None.

Placement

The Q element must be a child of the QUESTION element.

Children

No children are supported within the Q element.

Remarks

The question can contain HTML tags, using proper XML notation.

Examples

<QUESTION>
  <Q>What is the answer?</Q>
  <ANSWER>Not this.</ANSWER>
  <ANSWER>Not this either.</ANSWER>
  <ANSWER CORRECT="1">This.</ANSWER>
</QUESTION>

The following question will be displayed as:
Is that your final answer?

<Q>Is that your &lt;i&gt;final&lt;/i&gt; answer?</Q>

©2020 Bot Productions. All rights reserved.Last Updated: June 14, 2001