Answers for "js function go to html tag"

2

best place to include script in html layout

JavaScript in <head> or <body>
You can place any number of scripts in an HTML document. Scripts can be placed in the <body> , or in the <head> section of an HTML page, or in both.
Posted by: Guest on June-20-2020
1

html how to get js

<!--Use The <script> tag to impliment javascript. You can put script 
tags in the head or body tags or both. Though most people should put
there script tags in the head tag-->
<script>
  console.log("Javascript");
</script>
Posted by: Guest on June-21-2020

Browse Popular Code Answers by Language