기능 디스플레이를 "demo" ID로 요소의 내부 HTML에 "Hello"로 표시한다.
코드
function myFunction() { document.getElementById("demo").innerHTML = "Hello"; }