<title>
<title> is a Sectional
component that renders a title with default formatting to match the hierarchy of its
associated sectional component. A <title> placed at the top of the document
creates a document title.
Attributes and Properties
Attributes for <title>
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 <title name="t">
Other (6)
$t.disabledboolean. Whether this component is disabled and cannot be interacted with.
$t.fixedboolean. Whether this component's value is fixed and cannot be modified.
$t.fixLocationboolean. Whether this component's location is fixed (preventing it from being moved while still allowing other modifications).
$t.texttext. The combined content of this component's children, as a plain text string.
$t.valuetitle. The combined content of this component's children.
Common to all components (4)
$t.doenetMLtext. The DoenetML source code that produced this component.
$t.hideboolean. Whether to hide this component from the rendered output.
$t.isResponseboolean. Whether this component is treated as a response for the purposes of assessment.
$t.styleNumberinteger. The style number used to select this component's visual styling from the available style definitions.
Examples
Example: <title> for a <section>
A <title> placed inside a <section> overrides the default title for that <section>.
Example: <title> for a subsection
A <section> nested inside another <section> creates a subsection of lower hierarchy.
Example: <title> for an <example>
A <title> nested inside an <example> overrides the default title for the <example>.
Example: <title> for a <problem>
A <title> nested inside a <problem> overrides the default title for the <problem>.
Example: <title> for a <hint>
A <title> nested inside a <hint> overrides the default title for the <hint>.
Example: <title> for an <aside>
A <title> nested inside an <aside> overrides the default title for the <aside>.