HyperText Markup Language/Quotations

From Wikibooks, open books for an open world
< HyperText Markup Language
Jump to: navigation, search

There are two kinds of quotations supported by HTML--inline ones and block quotations.

Inline quotations[edit]

An example:

<q>An inline quotation of significant length
(say 25 words, for example) goes here...</q>.

Will be diplayed as:

An inline quotation of significant length (say 25 words, for example) goes here....

Block quotations[edit]

An example:

<blockquote>Lorem ipsum dolor sit amet, consectetur adipisicing elit,
  sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
  Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
  nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in
  reprehenderit in voluptate velit esse cillum dolore eu fugiat
  nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt
  in culpa qui officia deserunt mollit anim id est laborum.
</blockquote>

Example rendering:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.