HTML Quotation

In this tutorial, we will learn about HTML Quotation. The HTML Quotation tag is used to show quotation text in the webpage. We usually use HTML Quotation to make this text different from the rest of the content. Here is a list of some tags which we used to add quoted text in the webpage.

  • <q>
  • <blockqoute>
  • <abbr>
  • <address>
  • <cite>
  • <bdo>

Now you will learn about each tag from the above list.

<q> tag:

This tag is used to show text inside the double-quotes.

<p><q>Everything comes to him who hustles while he waits."</q>― Thomas Edison</p>

Output:

"Everything comes to him who hustles while he waits."― Thomas Edison

<blockqoute> tag:

The blockquote tag is used to add quotations in a web page. blockquote doesn’t add quotes around text it changes the alignment of text.

<p>www.owlbuddy.com</p>
<blockquote>
Welcome to owlbuddy.com
</blockquote>

Output:

www.owlbuddy.com
    Welcome to owlbuddy.com

<abbr> tag:

Here abbr stands for abbreviation. This tag is used to show abbreviation on the web page. Check out the following example code.

<abbr title="Hyper Text Markup Language">HTML</abbr> is used for Web Designing.

Output:

HTML is used for Web Designing.

<address> tag:

The address tag is used to show contact information is web-page such as a physical address, email address, URL,  phone number etc. check out the following example code to understand it.

<address>
David Williams<br>
London City<br>
United Kingdom
</address>

Output:

David Williams
London City
United Kingdom
Spread the love
Scroll to Top