Skip to content

Latest commit

 

History

History
68 lines (52 loc) · 1.11 KB

quotes.md

File metadata and controls

68 lines (52 loc) · 1.11 KB

Quotes

Inline quote

<p>Like Hamlet says, <q>To be or not to be</q></p>

Inline quote with url for the cite:

<p>Like Hamlet says, <q cite="http://example.com">To be or not to be</q></p>

Simple block quote

<blockquote>
  <p>To be or not to be</p>
</blockquote>

Block quote with url for the cite

<blockquote cite="http://example.com">
  <p>To be or not to be</p>
</blockquote>

Block quote with visible cite

<blockquote>
  <p>To be or not to be</p>
  <cite>Prince Hamlet</cite>
</blockquote>

Block quote with many visible cites

<blockquote>
  <p>To be or not to be</p>
  <footer>
    <cite>Prince Hamlet</cite> in <cite>Hamlet</cite>, by <cite>William
      Shakespeare</cite>
  </footer>
</blockquote>

Alternative version inside a figure

<figure>
  <blockquote>
    <p>To be or not to be</p>
  </blockquote>
  <figcaption>
    <cite>Prince Hamlet</cite> in <cite>Hamlet</cite>, by <cite>William
      Shakespeare</cite>
  </figcaption>
</figure>