Code has been added to clipboard!

Quoting and Citing in HTML: Blockquote and Quote Elements

Reading time 2 min
Published Mar 19, 2019
Updated Sep 30, 2019

TL;DR – HTML blockquote and regular quote tags surround quotation text, preventing plagiarism. Citation tags refer to the title of the cited work.

Quoting and Citing in HTML

Quotation and citation are an important part of content writing on your website. To mark text passages that are cited or quoted, we use a few specific HTML elements:

Element Used for Defines
<q> Quotation An inline quote
<blockquote> Quotation A block-level quote
<cite> Quotation and citation The title of the quoted/cited work

When learning to write HTML quotation code, beginners often get confused about the difference between quotation and citation. It is actually very simple: quotation uses exact words from the author, and citation expresses their ideas using different words.

HTML Quote Code: Elements to Use

The quotation you want to include in your text should be inserted inside <q> tags. They surround an inline quote in HTML quotation marks automatically:

Example
<q>So many books, so little time.</q> - Frank Zappa

The HTML <blockquote> element separates the quote in a different manner: it is displayed as a block element with indentations:

Example
<p>I am some normal text <blockquote>The blockquote starts here and ends here</blockquote> and here is some normal text again</p>

Note: HTML blockquotes are usually used for longer quotes.

The HTML <cite> element defines the title of the work you're citing or quoting. The content of these tags has no HTML quotation marks and is usually displayed in italics:

Example
<cite>Sophie's Choice</cite> by William Styron

HTML Blockquote: Summary

  • HTML <q> elements can be nested. Notice the single quotes HTML places around the nested element:
Example
He shrugged: <q>Well, as Winnie the Pooh once said, <q>I’m short and fat and proud of that!</q></q>
  • HTML blockquotes can also be useful in styling, as they help to break the flow of your web page and divide it into sections.
  • You can also use HTML blockquotes to emphasize pull quotes or testimonials.
Basics
Introduction
Syntax
Editors
Basic Examples
Head Section
<!DOCTYPE>
Tags and Elements
Semantic Elements
Tags Reference
Attributes
Comments
Block and Inline Elements
Forms
Form Elements
Input
Responsive Web Design
Inline Scripts
Uniform Resource Locator
Redirect
XHTML
Geolocation
Drag and Drop
Local Storage
Web Workers
Server-Sent Events
Character Encoding
Text Formatting
Quotation and Citation Elements
Headings
Paragraphs
Links
Tables
Lists
Symbols
Space
Tab
Styles
Computer Code
Layout
Classes
Colors
Images
iframes
Audio Player
Video Player
YouTube Videos
Multimedia
Canvas
SVG
<!-- -->
<a>
<abbr>
<acronym> DEPRECATED
<address>
<applet> DEPRECATED
<article>
<aside>
<audio>
<b>
<base>
<basefont> DEPRECATED
<bdi>
<bdo>
<big> DEPRECATED
<blink> DEPRECATED
<blockquote>
<body>
<br>
<button>
<canvas>
<caption>
<center> DEPRECATED
<cite>
<code>
<col>
<colgroup>
<datalist>
<dd>
<del>
<details>
<dfn>
<dialog>
<dir> DEPRECATED
<div>
<dl>
<dt>
<em>
<embed>
<fieldset>
<figcaption>
<figure>
<font> DEPRECATED
<footer>
<form>
<frame> DEPRECATED
<frameset> DEPRECATED
<h1> – <h6>
<head>
<header>
<hr>
<html>
<i>
<iframe>
<img>
<input>
<ins>
<kbd>
<keygen> DEPRECATED
<label>
<legend>
<li>
<link>
<main>
<map>
<mark>
<menu>
<menuitem> DEPRECATED
<meta>
<meter>
<nav>
<noframes> DEPRECATED
<noscript>
<object>
<ol>
<optgroup>
<option>
<output>
<p>
<param>
<pre>
<progress>
<q>
<rp>
<rt>
<ruby>
<s>
<samp>
<script>
<section>
<select>
<small>
<source>
<span>
<strike> DEPRECATED
<strong>
<style>
<sub>
<summary>
<sup>
<table>
<tbody>
<td>
<tfoot>
<th>
<thead>
<time>
<title>
<tr>
<track>
<tt> DEPRECATED
<u>
<ul>
<var>
<video>
<wbr>