Skip to main content

HTML Quotation and Citation Elements

This chapter goes through the HTML elements for quotations and citations: <blockquote>, <q>, <abbr>, <address>, <cite>, and <bdo>.


HTML <blockquote> for Quotations

The <blockquote> element marks a section quoted from another source. Browsers usually indent it. Use the cite attribute to point to where the quote came from.

Example

A quote from WWF's website inside a <blockquote>.

Prompt
A page with a blockquote quoting WWF's website (with a cite attribute pointing to the source URL), introduced by a paragraph. Browsers indent the blockquote.
Output: complete HTML page

HTML <q> for Short Quotations

The <q> tag marks a short, inline quotation. Browsers normally add quotation marks around it.

Example

A short quotation inside a paragraph.

Prompt
A page with a short inline quotation using the q element inside a paragraph: WWF's goal is to "Build a future where people live in harmony with nature." Browsers add the quotation marks.
Output: complete HTML page

HTML <abbr> for Abbreviations

The <abbr> tag marks an abbreviation or acronym, like "HTML", "CSS", or "ASAP". Marking abbreviations helps browsers, translation tools, and search engines.

Tip: Use the global title attribute to show the full description when the user hovers over it.

Example

The abbreviation WHO with its full name in a title.

Prompt
A page using the abbr element to mark the abbreviation WHO, with a title attribute "World Health Organization" shown on hover. Sentence: "The WHO was founded in 1948."
Output: complete HTML page

HTML <address> for Contact Information

The <address> tag marks the contact information for the author or owner of a document or article. That can be an email, URL, physical address, phone number, or social handle. The text usually renders in italic, and browsers add a line break before and after it.

Example

Contact information inside an <address>.

Prompt
A page using the address element for contact information: written by John Doe, with a visiting address. Browsers render it in italic with line breaks before and after.
Output: complete HTML page

HTML <cite> for Work Title

The <cite> tag marks the title of a creative work, such as a book, song, movie, or painting. A person's name is not the title of a work. The text usually renders in italic.

Example

The title of a painting marked with <cite>.

Prompt
A page using the cite element for the title of a creative work: "The Scream" by Edvard Munch, painted in 1893. The title renders in italic.
Output: complete HTML page

HTML <bdo> for Bi-Directional Override

BDO stands for Bi-Directional Override. The <bdo> tag overrides the current text direction, for example to write text from right to left.

Example

Text forced to run right to left with <bdo>.

Prompt
A page using the bdo element with dir="rtl" to override text direction: "This text will be written from right to left".
Output: complete HTML page

HTML Quotation and Citation Elements

A quick reference: <abbr> defines an abbreviation or acronym, <address> defines contact information, <bdo> defines the text direction, <blockquote> defines a quoted section, <cite> defines the title of a work, and <q> defines a short inline quotation.