Multiple choice technology web technology

Inside which HTML element do we put the JavaScript?

  1. <script>

  2. <scripting>

  3. <js>

  4. <javascript>

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

JavaScript code must be placed inside the element in HTML. This is the standard HTML tag defined for embedding or referencing JavaScript code. Tags like <scripting>, <js>, or <javascript> are not valid HTML elements.