<q>
<q> is a Paragraph Markup
component that renders its enclosed content wrapped in curly double quotation marks (“ ”).
Attributes and Properties
Attributes for <q>
Common to all components (9)
copyreference. Create an independent copy of another component by reference. Enter a references a $name.
disabledboolean. Default value: false. Whether this component is disabled and cannot be interacted with.
extendreference. Extend another component by reference, inheriting its children and attributes. Enter a reference as $name.
fixedboolean. Default value: false. Whether this component's value is fixed and cannot be modified.
fixLocationboolean. Default value: false. Whether this component's location is fixed (preventing it from being moved while still allowing other modifications).
hideboolean. Default value: false. Whether to hide this component from the rendered output.
isResponseboolean. Default value: false. Whether this component is treated as a response for the purposes of assessment.
nametext. The name used to reference this component from elsewhere in the document.
styleNumberinteger. Default value: 1. The style number used to select this component's visual styling from the available style definitions.
Properties for <q name="q">
Other (5)
$q.disabledboolean. Whether this component is disabled and cannot be interacted with.
$q.fixedboolean. Whether this component's value is fixed and cannot be modified.
$q.fixLocationboolean. Whether this component's location is fixed (preventing it from being moved while still allowing other modifications).
$q.texttext. The combined text content of this component's children, with optional begin/end delimiters.
Common to all components (4)
$q.doenetMLtext. The DoenetML source code that produced this component.
$q.hideboolean. Whether to hide this component from the rendered output.
$q.isResponseboolean. Whether this component is treated as a response for the purposes of assessment.
$q.styleNumberinteger. The style number used to select this component's visual styling from the available style definitions.
Examples
Example: <q> in a paragraph
<q> automatically supplies a left double quotation mark before its content and a right
double quotation mark after. To place each mark independently — for example, when a quotation
spans multiple paragraphs — use <lq/> and <rq/> instead.