Which of the following is used to include JavaScript code within an HTML document?
Show answerHide answer
Correct answer: (B) <script>
Explanation
JavaScript is placed in HTML inside <script> ... </script> tags, either inline or with the src attribute.