<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<script>
function dianwo(){
var div=document.getElementById(666)
div.innerHTML="<font color='red'>内容被改变掉了!!!</font>"
}
</script>
</head>
<body>
<div>
<input type="button" value="点击我,下面的内容会改变" onclick="dianwo()" />
</div>
<div id="666">
点击上面的按钮,这里的内容会改变
</div>
</body>
</html>