<text>
The <text>
element is a container for
text. It does not have any associated semantics.
Usage information
The <text>
element is primarily used as
a base for specialization or to enable
reuse. The <text>
element can contain only
text or nested <text>
elements.
Content model
(Text |
<text>
)*
Zero or more
- Text
-
<text>
Attributes
The following attributes are available on this element: universal attributes.
The following attributes are available on this element: universal attributes.
Example
This section is non-normative.
In the following code sample, the <text>
element is used to
contain text that is intended to be reused:
<p>This an example of <text id="reuse">Text that is reusable</text>,
with no extra semantics attached to the text.</p>