x
 
<!DOCTYPE html>
<html>
<body>
<h1>演示如何访问 BLOCKQUOTE 元素</h1>
<p>以下是世界自然基金会网站的引述:</p>
<blockquote id="myBlockquote" cite="http://www.worldwildlife.org/who/index.html">
50 年来,WWF 一直致力于保护自然的未来。
</blockquote>
<p>单击该按钮可获取引用的 URL。</p>
<button onclick="myFunction()">试一试</button>
<p id="demo"></p>
<script>
function myFunction() {
  var x = document.getElementById("myBlockquote").cite;
  document.getElementById("demo").innerHTML = x;
}
</script>
</body>
</html>