Open In App

How to add section that is quoted from another source using HTML ?

The <blockquote> tag in HTML is used to display the long quotations (a section that is quoted from another source). It changes the alignment to make it unique from others. It contains both opening and closing tags.

Syntax:



<blockquote> Contents... </blockquote>

Example 1:




<!DOCTYPE html>
<html>
  
<body>
    <h1 style="color:green;">
        GeeksforGeeks
    </h1>
  
    <blockquote>
        GeeksforGeeks: A computer
        science portal for geeks
    </blockquote>
</body>
  
</html>

Output:



Example 2:




<!DOCTYPE html>
<html>
  
<body>
    <h1 style="color:green;">
        GeeksforGeeks
    </h1>
  
    <blockquote cite="www.geeksforgeeks.org">
        GeeksforGeeks:A computer
        science portal for geeks
    </blockquote>
</body>
  
</html>

Output:

Supported Browsers:


Article Tags :