Answers for "what is the use of script tag in html"

1

script tag with type html

<script type="text/javascript">
  /*Detects that you are using javascript or text*/
</script>
Posted by: Guest on September-22-2020
1

html script tag

<script>
	// Put JavaScript inside here
</script>
<!-- OR -->
<script src="all-js/01001/015.js"></script>
Posted by: Guest on October-01-2020
0

script tag

<script type="text/javascript">
	console.log("text console log");
</script>
Posted by: Guest on July-17-2021
2

script tag in html

<script>
  // Write JS here
</script>

<script src="link/to/js/file.js"></script>
Posted by: Guest on October-20-2020
2

what is the use of script tag in html

<script>
  //Insert JS scripts here
  var html
  html = "You can use the <script> tag to incorporate JS code into your HTML code"
  console.log(html)
</script>
Posted by: Guest on June-11-2020

Code answers related to "what is the use of script tag in html"

Browse Popular Code Answers by Language