<div id='a' style='display:none'></div> <script> alert(document.getElementById('a').style.display) alert(document.getElementById('a').id) </script>
<div id='a' style='width:200;height:200'></div> <script> alert(document.getElementById('a').style.width) </script>