1
JavaScript has to called inside ________ tags

Open 2 Answers 173 Views Technology

JavaScript has to called inside ________ tags

a)head
b)body
c)script

2 Answers

0

Answer:-script

by (278k points)
0

JavaScript was originally created as a client-side web programming language, running in a web browser, to supercharge HTML. It has grown beyond the client-side programming.

With the introduction of Node.js (an open-source, cross-platform JavaScript run-time environment), you can run your JavaScript standalone or inside the server (instead of a browser). This allows you to use one single language for both the server-side and client-side programming.

JavaScript has to called inside script tags.

example:

<script>

alert("Hello Ajay!");

</script>

by (53.7k points)
...