DITA Resource Center

<lq>

The <lq> is used to provide extended content quoted from another source. Use the quote element <q> for short, inline quotations, and long quote <lq> for quotations that are too long for inline use, following normal guidelines for quoting other sources. The @href and @keyref attributes are available to specify the source of the quotation. The <longquoteref> element is available for more complex references to the source of a quote.
Although rendering is left up to implementations, processors generally render <lq> as an indented block.

Content models

See appendix for information about this element in OASIS document type shells.

Inheritance

- topic/lq

Example

<p>This is the first line of the address that 
Abraham Lincoln delivered on November 19, 1863 for the dedication 
of the cemetery at Gettysburg, Pennsylvania.</p>
<lq>Four score and seven years ago our fathers brought forth on this continent a new
nation, conceived in liberty, and dedicated to the proposition that all men
are created equal.</lq>

Attributes

The following attributes are available on this element: Universal attribute group, Link relationship attribute group (with a narrowed definition for @type, given below), @outputclass, and @keyref, and the attributes defined below.

@reftitle
The title of the document or topic being quoted.
@type
Indicates the location of the source of the quote. Note that this differs from the @type attribute on many other DITA elements. See The @type attribute for detailed information on the usual supported values and processing implications. The following attribute values are allowed (but deprecated) for backward compatibility:
external
The @href is to a Web site. This value is deprecated in favor of use of the @scope and @format attributes.
internal
The @href is to a DITA topic. This value is deprecated in favor of use of the @scope and @format attributes.

Was this page helpful?