Tsallaka zuwa abun ciki
Justice Tech School

Quotations and Citations

blockquote holds a long quotation and is shown indented. q is for a short inline quotation and the browser adds the quote marks for you.

cite names the title of a work. abbr defines an abbreviation, shown with a tooltip when you hover over it.

Example
<blockquote>Learning to code is learning to think clearly.</blockquote>
<p>As they say, <q>practice makes progress</q>.</p>
<p>I use <abbr title="HyperText Markup Language">HTML</abbr> daily.</p>

Exercise

Use the element for a short inline quote.

<p>He said <>hello</>.</p>

Quiz Test

Which element is for a long block quotation?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.