Question
Download Solution PDFWhich of the following is suitable tag for java script in HTML?
Answer (Detailed Solution Below)
Detailed Solution
Download Solution PDFThe 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>
Last updated on Jul 12, 2025
-> HTET Exam Date is out. HTET Level 1 and 2 Exam will be conducted on 31st July 2025 and Level 3 on 30 July
-> 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.