Learn HTMLWeb Design & DevelopmentWebsite

Class 5 | HTML Quotations | Learn HTML

HTML <q> for Short Quotations

The HTML <q> element defines a short quotation. Browsers usually insert quotation marks around the <q> element.

HTML <blockquote> for Long Quotations

The HTML <blockquote> element defines a quoted section. Browsers usually indent <blockquote> elements.

<blockquote> elements.
<p>Here is a quote from WWF's website:</p>
<blockquote cite="http://www.worldwildlife.org/who/index.html">
For 50 years, WWF has been protecting the future of nature.
</blockquote>

HTML <abbr> for Abbreviations

The HTML <abbr> element defines an abbreviation or an acronym. Marking abbreviations can give useful information to browsers, translation systems and search-engines.

HTML <address> for Contact Information

The HTML <address> element defines contact information (author/owner) of a document or article. The element is usually displayed in italic. Most browsers will add a line break before and after the element.

<address>
Written by Jon Doe.<br>
Visit us at:<br>
Example.com<br>
Box 564, Disneyland<br>
USA
</address>.

HTML <cite> for Work Title

The HTML <cite> element defines the title of a work. Browsers usually displays <cite> elements in italic.

<p><cite>The Scream</cite> by Edward Munch. Painted in 1893.</p>

HTML <bdo> for Bi-Directional Override

The HTML <bdo> element defines bi-directional override. If your browser supports bdo, the text will be written from right to left.

<bdo dir="rtl">This text will be written from right to left</bdo>

Leave a Reply

Your email address will not be published. Required fields are marked *