Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<p>Here is a quote from WWF's website:</p>
<p>WWF's goal is to:
<q id="myQuote" cite="http://www.wwf.org">
Build a future where people live in harmony with nature.</q>
We hope they succeed.
</p> 
<p>Click the button below to change the value of the cite attribute of the quotation above.</p>
<button onclick="myFunction()">Try it</button>
<p id="demo"></p>
<script>
function myFunction() {
  document.getElementById("myQuote").cite = "http://www.cnn.com";
  document.getElementById("demo").innerHTML = "The value of the cite attribute was changed to 'www.cnn.com'.";
}
</script>
</body>
</html>