为什么没反应?
<body>
<h2 id="con">I love JavaScript</H2>
<p> JavaScript使网页显示动态效果并实现与用户交互功能。</p>
<script type="text/javascript">
var i= document.getElementById("con").innerHTML;
document.write(i);
i.style.color="#f00";
i.style.backgroundColor = "#CCC";
i.style.display = "none";
</script>
</body>