<html>
<body>
<p>单击该按钮以创建带有一些文本的 CITE 元素。</p>
<button onclick="myFunction()">试一试</button><br><br>
<img src="/i/photo/tulip.jpg" alt="The Tulip" width="300" height="300">
<br><br>
<script>
function myFunction() {
var x = document.createElement("CITE");
var t = document.createTextNode("《郁金香》");
x.appendChild(t);
document.body.appendChild(x);
}
</script>
</body>
</html>