在IE6下结果:test_1:blue ----test_2:blue (IE6没有console.log,所以上面的console.log需要换成alert)
原始
<script> <br>var test = document.createElement('div'); <br>test.innerHTML = '<span style="*color:red; _color:blue;">动态生成</span>'; <br>document.body.appendChild(test); <br></script>