Open In App
Related Articles

HTML | <blockquote> cite Attribute

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Report issue
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

    Last Updated : 21 Jul, 2022
    Like Article
    Save Article
    Previous
    Next
    Share your thoughts in the comments
Similar Reads