日期:2014-05-16 浏览次数:20316 次
<html> <script type="text/javascript"> var demo = document.getElementById("demo"); var tagName = demo.tagName; alert(tagName ); </script> <span id="demo">I am Here!</span> </html>