x
 
<!DOCTYPE html>
<html>
<body>
<p><del id="myDel" cite="why_deleted.htm">这段文字已被删除。</del></p>
<p>点击按钮可返回被删除文本的 cite 属性的值。</p>
<button onclick="myFunction()">试一试</button>
<p id="demo"></p>
<script>
function myFunction() {
  var x = document.getElementById("myDel").cite;
  document.getElementById("demo").innerHTML = x;
}
</script>
</body>
</html>