how to add javascript to a single html file code example Example: include script in html <script type="text/javascript" src="/path/to/script.js"></script>