Open In App

HTML | <blockquote> cite Attribute

Last Updated : 21 Jul, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

The HTML <blockquote> cite Attribute is used to specify the source of the quotation.

Syntax:

<blockquote cite="URL"> 

Attribute Values:

  • URL: it contains the value i.e URL which specifies the source of the quotation.
      Possible Values:

    • absolute URL: It points to another website.
    • relative URL: It points to a file within a website.

    Example:




    <!DOCTYPE html>
    <html>
      
    <head>
        <title>
          HTML 
          <blockquote>Cite Attribute 
      </title>
        <style>
            body {
                text-align: center;
            }
              
            h1 {
                color: green;
            }
        </style>
    </head>
      
    <body>
        <h1>GeeksforGeeks</h1>
        <h2><blockquote>Cite  Attribute</h2>
        <blockquote cite="www.GeeksForGeeks.org.in">
          GeeksforGeeks: 
          A computer science portal for geeks
      </blockquote>
    </body>
      
    </html>

    
    

    Output :

    Supported Browsers: The browser supported by HTML <blockquote> Cite Attribute are listed below:

    • Google Chrome
    • Edge 12 and above
    • Internet Explorer
    • Firefox 1 and above
    • Opera
    • Safari

    Like Article
    Suggest improvement
    Share your thoughts in the comments

Similar Reads