how to put a function in to html page code example Example: include javascript in html <script> // JS Here </script>