HTML
Tag


The blockquote tag in HTML is used to set a section which is quoted from another source. It defines long quotations. For short quotations, use <q> tag.

Following is the attribute −

  • cite: The source of the quotation

Let us now see an example to implement the blockquote tag in HTML −

Example

 Live Demo

<!DOCTYPE html>
<html>
<body>
<h2>osCommerce</h2>
<p>According to the official website of osCommerce:</p>
   <blockquote cite="https://www.oscommerce.com/Us">
      We have been running successfully for over 19 years and have not only created
      hundreds of thousands of online store owners worldwide, but have also helped
      kickstart other companies and projects who have based their products on our
      work. We've grown so much with the community and love the engagement in helping
      us all succeed. We're anxious to see you get involved and be part of the success!
   </blockquote>
</body>
</html>

Output

In the above example, we have set a quotation using the <blockquote>. This sets long quotation around the text−

<blockquote cite="https://www.oscommerce.com/Us">
We have been running successfully for over 19 years and have not only created hundreds of thousands of online store owners worldwide, but have also helped kickstart other companies and projects who have based their products on our work. We've grown so much with the community and love the engagement in helping us all succeed. We're anxious to see you get involved and be part of the success!
</blockquote>

With that, we have also displayed the source of the quotation using the <blockquote> cite attribute−

cite="https://www.oscommerce.com/Us"

Updated on: 30-Jul-2019

21 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements