Answers for "how to add script on html"

59

include script in html

<script type="text/javascript" src="/path/to/script.js"></script>
Posted by: Guest on July-17-2020
0

how to enter javascript in html

<script type="text/javascript">
  alert("This alert box was called with the onload event");
</script>
Posted by: Guest on August-19-2020
-1

how to add javascript in html

$(document).ready(function() {
  // add your code here
})
Posted by: Guest on April-24-2021

Browse Popular Code Answers by Language