Close this window

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."

Attributes(what's this?)

Children(what's this?)

label (one, optional), title (one, optional), para, term, cite, cite-title, foreign, emphasis, sub, sup, code (block display only), preformat, quote, note, list, media (block display only), footnote, link, newline, space, definition, example, figure, table, rule, equation, exercise, Unicode text

Parents(what's this?)

content, section, preformat, para, quote, footnote, note, item, example, problem, solution, commentary, meaning, statement, proof, entry, title, label, cite, cite-title, link, emphasis, term, sub, sup, quote, foreign, code, caption, audio, flash, video, java-applet, image, labview, download
Close this window