HTML contains multiple elements that allow you to quote and cite text. These elments are, <blockquote>
, <q>
, <abbr>
, <address>
, <cite>
and <bdo>
.
The HTML <blockquote>
element defines a section that is quoted from another source.
Browsers usually indent <blockquote>
elements.
The HTML <q>
tag defines a short quotation.
Browsers normally insert quotation marks around the quotation.
The HTML <abbr>
tag defines an abbreviation or an acrontm, like "HTML", "CSS", "ATM", etc.
It is reccomended that you use the title attribute to show the full name of the abbreviation in a tooltip when you mouse over the text.
The HTML <address>
tag defines the contact information for the author/owner of a document or an article.
The contact information can be an email address, URL, phone number, physical address, social media handle, etc.
The text in the <address>
element is usually displayed in italic, and browsers will always add a line break before and after the <address>
element.
The HTML <cite>
tag defines the title of a creative work (e.g. a book, a song, a movie, a painting, etc.).
A person's name is not the title of a work.
The text in the <cite>
element usually renders in italic.
BDO stands for Bi-Directional Override.
The HTML <bdo>
tag is used to override the current text direction.