<html>
<body>
<p>这边引用了 WWF's 站点的内容:</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>点击下面的按钮,返回以上引用cite属性的值。</p>
<p id="demo"></p>
<button onclick="myFunction()">点我</button>
<script>
function myFunction()
{
var x = document.getElementById("myQuote").cite;
document.getElementById("demo").innerHTML=x;
}
</script>
</body>
</html>