Question
Easy

Which of the following is suitable tag for java script in HTML?

1
<java> </java>
2
<script> </script>
3
<jvm> </jvm>
4
<JS> </JS>
Question Details
Time to Solve: 12
Exam: HTET
Level/Paper: Level 3
Chapter: Web Designing using HTML
Topic: HTML Basics
Correct Answer
Option B
Explanation

The correct option is (2): The standard and universally recognized tag for embedding or referencing client-side script in an HTML document is the \ tag. This tag serves as the essential container that explicitly instructs the web browser's rendering engine to interpret the enclosed content, or the external file referenced by the 'src' attribute, as executable code, which is JavaScript by default in all modern HTML versions. All dynamic, interactive…Read More