Skip to content
Related Articles

Related Articles

Improve Article

HTML | <blockquote> cite Attribute

  • Last Updated : 29 Apr, 2019

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
    • Internet Explorer
    • Firefox
    • Opera
    • Safari

    Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML  course.

    My Personal Notes arrow_drop_up
Recommended Articles
Page :