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?