Which HTML element is used to put the JavaScript code?

Which HTML element is used to put the JavaScript code?

  1. < javascript >
  2. < js >
  3. < scripting >
  4. < script >
2 Likes

option 4. script

ex:

`<html>
<head></head>
<body>
<script></script>
</body>
</html>