Vidyalelo
JavaScript · Q82

Invocation And Performance Navigation

Programming · JavaScript · question 82

Q82

What is the purpose of holding whatever tag you create in the attribute type?

A.
To have more information
B.
To identify the scripting language
Answer
C.
All of the mentioned
D.
None of the mentioned

Answer: Option B

Solution

Answer: Option B
Solution:
A variable is created to hold whatever taag you create, and then branch the logic based on the value of type, which identifies it’s for JavaScript or for CSS.