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

This question was previously asked in
HTET PGT Official Computer Science Paper - 2018
View all HTET Papers >
  1. <java><java>
  2. <script></script>
  3. <jvm></jvm>
  4. <JS></JS>

Answer (Detailed Solution Below)

Option 2 : <script></script>
Free
HTET PGT Official Computer Science Paper - 2019
4.5 K Users
60 Questions 60 Marks 60 Mins

Detailed Solution

Download Solution PDF

The HTML <script> tag is used to embed or reference a client-side script such as JavaScript. This tag is also commonly referred to as the <script> element.

Syntax

There are two ways that you can use the <script> tag. You can either embed the code within the <script> tags or you can reference a file that includes the code.

<script src="/js/functions.js" type="text/javascript"></script>

Latest HTET Updates

Last updated on Jun 6, 2025

-> The HTET TGT Applciation Portal will reopen on 1st June 2025 and close on 5th June 2025.

-> HTET Exam Date is out. HTET TGT Exam will be conducted on 26th and 27th July 2025

-> Candidates with a bachelor's degree and B.Ed. or equivalent qualification can apply for this recruitment.

-> The validity duration of certificates pertaining to passing Haryana TET has been extended for a lifetime.

-> Enhance your exam preparation with the HTET Previous Year Papers.

Get Free Access Now
Hot Links: teen patti king teen patti master official teen patti master 2025 teen patti joy 51 bonus teen patti real cash game