Menu
The q
tag, or Inline Quotation element, is used to define a short inline quotation. Use <blockquote>
for longer quotations.
Explain the syntax of this reference item and show an example in the code block below. Try to remove as much unnecessary items as possible. It’s important this is easy to process at a glance.
<p>Someone famous once said this:
<q>Something famous that was once said.</q>
They were very wise.</p>
cite
Provides the URL that is the source of the quote.
Have a code example of <q>
? Submit a codepen.io demo and we'll showcase it here ↴