Open In App

HTML | <blockquote> cite Attribute

Last Updated : 21 Jul, 2022
Comments
Improve
Suggest changes
Like Article
Like
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: html
    <!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

    Next Article

Similar Reads