how to To insert a JavaScript into an HTML page code example Example: how to add javascript in html <script src="script.js"></script>