소개

<html>

<div id="hi">문</div>

<script>

document.getElementById("hi").addEventListener('click',function () { alert('hihi); } ); </script>

 

</html>