x
 
<!DOCTYPE html>
<html>
<body>
<h3>如何访问 CITE 元素的演示</h3>
<img src="/i/photo/tulip.jpg" alt="The Tulip" width="300" height="300">
<p><cite id="myCite">《郁金香》</cite> W3School 团队拍摄于 2019 年。</p>
<p>单击按钮将引文的颜色设置为红色。</p>
<button onclick="myFunction()">试一试</button>
<script>
function myFunction() {
  var x = document.getElementById("myCite");
  x.style.color = "red";
}
</script>
</body>
</html>