<q>
A quotation is a small group of words that is taken from a text or speech and repeated by someone other than the original author or speaker.
Rendering expectations
Processors add appropriate styling, such as locale-specific quotation marks, around the
contents of the <q>
element and render it inline.
Content model
(Text |
<cite>
|
<include>
|
<keyword>
|
<ph>
|
<strong>
|
<em>
|
<b>
|
<i>
|
<line-through>
|
<overline>
|
<sup>
|
<sub>
|
<tt>
|
<u>
|
<q>
|
<term>
|
<text>
|
<tm>
|
<xref>
|
<data>
|
<sort-as>
|
<draft-comment>
|
<foreign>
|
<required-cleanup>
)*
Contained by
<abstract>
,
<b>
,
<bodydiv>
,
<cite>
,
<data>
,
<dd>
,
<ddhd>
,
<desc>
,
<div>
,
<draft-comment>
,
<dt>
,
<dthd>
,
<em>
,
<entry>
,
<example>
,
<fallback>
,
<figgroup>
,
<fn>
,
<howtoavoid>
,
<i>
,
<li>
,
<line-through>
,
<lines>
,
<linkinfo>
,
<lq>
,
<note>
,
<overline>
,
<p>
,
<ph>
,
<pre>
,
<q>
,
<section>
,
<shortdesc>
,
<sli>
,
<stentry>
,
<strong>
,
<sub>
,
<sup>
,
<title>
,
<tt>
,
<u>
,
<xref>
Contained by
-
<abstract>
-
<b>
-
<bodydiv>
-
<cite>
-
<data>
-
<dd>
-
<ddhd>
-
<desc>
-
<div>
-
<draft-comment>
-
<dt>
-
<dthd>
-
<em>
-
<entry>
-
<example>
-
<fallback>
-
<figgroup>
-
<fn>
-
<howtoavoid>
-
<i>
-
<li>
-
<line-through>
-
<lines>
-
<linkinfo>
-
<lq>
-
<note>
-
<overline>
-
<p>
-
<ph>
-
<pre>
-
<q>
-
<section>
-
<shortdesc>
-
<sli>
-
<stentry>
-
<strong>
-
<sub>
-
<sup>
-
<title>
-
<tt>
-
<u>
-
<xref>
Inheritance
- topic/q
The <q>
element is a base element type. It is defined in the topic module.
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 <q>
element contains a
quotation. Note that no quotation marks are included; locale-specific quotation marks
will be generated during processing.
<p>
George said, <q>Disengage the power supply before servicing the unit.</q>
</p>