Open In App
Related Articles

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

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. 


<q cite="URL">

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


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


Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 21 May, 2021
Like Article
Save Article
Similar Reads
Complete Tutorials