<script type="text/javascript" id="script"> window.onload = function () { alert(document.getElementById("script").tagName); } </script>