<script> function myFunction() { document.write("<h1>HELLO</h1>") } </script> <button onclick="myFunction()">Click</button>
<button onclick="function name">Click</button>