Using the
<quote> tag

Description

The quote tag is used to insert a
quotation, either inline or set apart in a block.

Example

This CNXML:

<para id="quoteexample">
<title> To be or not to be...</title>
<quote id="hamlet-quote"
url='http://tinyurl.com/bu393'>
"To be, or not to be: that is the question:
Whether 'tis nobler in the mind to suffer
The slings and arrows of outrageous fortune,
Or to take arms against a sea of troubles,
And by opposing end them?"</quote>
</para>

Results in this display:

To be or not to be...

"To be, or not to be: that is the question: Whether 'tis nobler in the mind
to suffer The slings and arrows of outrageous fortune, Or to take arms against
a sea of troubles, And by opposing end them?"
[source]

Example

This CNXML:

<para id="famous-quote">
One of Shakespeare's most famous quotes is
<quote display="inline">To be or not to be,
that is the question.</quote>
</para>

Results in this display:

One of Shakespeare's most famous quotes is "To be or not to be, that is the question."

block - The quote will be set apart from the surrounding text (default).
If the display attribute is set to "block" or is absent, then an id is required.

inline - The quote will be included in the
current line of text and will be surrounded by quotation marks.

none - The quote will not be displayed.

Optional linking attributes (used to link to a quote's source):

url(optional):
A Web path being linked to. Verify that the location is stable and will not change. You cannot use the "url" attribute in
combination with the "document", "target-id", "resource", or "version" attributes.

document(optional):
The id of the module or collection being linked to (default is the present module).

target-id(optional):
The id of an element in a module or collection, such as a section or an image (default is the root element of the target module
or collection). Can refer to an element in the present module or, alternately, an element on a separate module if the
"document" attribute has been specified. You cannot use the "target-id" attribute in combination with the "resource" attribute.

resource(optional):
The name of a resource, such as a supplemental PDF or text document (default is nothing). The resource must be a part of the
present module or, if the "document" attribute has been specified, must be part of the target module.

version(optional):
The version of the module or collection being linked to (default is the latest version of the module or collection). Can refer
to the module you are on or, alternately, a separate module or collection if the "document" attribute has been specified.

window(optional):

Possible values:

replace - The code will navigate to the reference URL in the same current window (default).

new - The code will be navigate to the reference URL in a new window

type(optional):
The type of quote. Can be any user-defined value. You decide the value
of "type". The value should reflect the purpose of the quote.