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:

HTML




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


Output:

Example 2:

HTML




<!DOCTYPE html>
<html>
  
<body>
    <h1 style="color:green;">
        w3wiki
    </h1>
  
    <blockquote cite="www.w3wiki.net">
        w3wiki:A computer
        science portal for Beginner
    </blockquote>
</body>
  
</html>


Output:

Supported Browsers:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Safari
  • Opera


Contact Us