Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

How to specify the source URL of the quote using HTML5 ?

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

In this article, we will learn how to specify the source URL of the quotation mark using HTML. We perform this task just by using a cite attribute of the <q> element in the document. This property contains the string value which represents the URL of the quotation mark. 

Syntax:

<q cite="URL">

Example: Below code illustrates the use of the cite attribute in the <q> tag. 

HTML




<!DOCTYPE html>
<html>
  <head>
    <style>
      h1,
      h2 {
        color: green;
        font-weight: bold;
      }
    </style>
  </head>
  
  <body style="text-align: center">
    <h2>GeeksforGeeks</h2>
  
    <b> How to specify the source URL of the quote using HTML5 ? </b>
  
    <p>
      <q cite="https://www.geeksforgeeks.org"> GeeksforGeeks </q>
      is a good platform for learn and earn.
    </p>
  </body>
</html>


Output:

My Personal Notes arrow_drop_up
Last Updated : 21 May, 2021
Like Article
Save Article
Similar Reads
Related Tutorials