x
 
<!DOCTYPE html>
<html>
<body>
<h3>如何访问 ADDRESS 元素的演示</h3>
<address id="myAdr">
Example.com<br>
Box 564, Disneyland<br>
USA
</address>
<p>单击按钮将地址的文本颜色设置为红色。</p>
<button onclick="myFunction()">试一试</button>
<script>
function myFunction() {
  var x = document.getElementById("myAdr");
  x.style.color = "red";
}
</script>
</body>
</html>