English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

Write a syntax of <script> tag. - Computer Applications

Advertisements
Advertisements

Question

Write a syntax of <script> tag.

Short Note

Solution

The syntax of Java <script> tag;

<Script language="javascript" type="text/javascript">
   JavaScript code
</script>

Language – This attribute specifies the scripting language.

Type – This attribute is used to indicate the scripting language and its value should be set to “text/javascript”.

shaalaa.com
Using Javascript in HTML Page
  Is there an error in this question or solution?
Chapter 14: Introduction to Javascript - Evaluation [Page 314]

APPEARS IN

Samacheer Kalvi Computer Applications [English] Class 11 TN Board
Chapter 14 Introduction to Javascript
Evaluation | Q 1. | Page 314
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×