This chapter will cover the HTML elements <blockquote>, <q>, <abbr>, <address>, <cite>, and <bdo>.
Example
The HTML <blockquote> element delineates a section quoted from another source.
Typically, browsers indent <blockquote> elements.
Example
<p>Here is a quote from WWF’s website:</p> <blockquote cite=”http://www.worldwildlife.org/who/index.html”> For 60 years, WWF has worked to help people and nature thrive. As the world’s leading conservation organization, WWF works in nearly 100 countries. At every level, we collaborate with people around the world to develop and deliver innovative solutions that protect communities, wildlife, and the places in which they live. </blockquote> |
The HTML <q> tag specifies a brief quotation.
Typically, browsers automatically add quotation marks around the quoted text.
Example
<p>WWF’s goal is to: <q>Build a future where people live in harmony with nature.</q></p> |
The HTML <abbr> tag denotes an abbreviation or an acronym, such as “HTML,” “CSS,” “Mr.,” “Dr.,” “ASAP,” or “ATM.”
Marking abbreviations provides valuable information to browsers, translation systems, and search engines.
Tip: Utilize the global title attribute to display the description for the abbreviation/acronym when hovering over the element.
Example
<p>The <abbr title=”World Health Organization”>WHO</abbr> was founded in 1948.</p> |
The HTML <address> tag specifies the contact details for the author/owner of a document or article.
These contact details may include an email address, URL, physical address, phone number, social media handle, and more.
Text within the <address> element typically appears in italic, and browsers consistently include a line break before and after the <address> element.
Example
<address> Written by John Doe.<br> Visit us at:<br> Example.com<br> Box 564, Disneyland<br> USA </address> |
The HTML <cite> tag specifies the title of a creative work, such as a book, poem, song, movie, painting, or sculpture.
Note: A person’s name does not qualify as the title of a work.
Text within the <cite> element typically appears in italic.
Example
<p><cite>The Scream</cite> by Edvard Munch. Painted in 1893.</p> |
BDO is an acronym for Bi-Directional Override.
The HTML <bdo> tag is utilized to alter the current text direction.
Example
<bdo dir=”rtl”>This text will be written from right to left</bdo> |