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
C
To store data
D
To store variable name
Correct Answer: To identify the scripting language
A variable is created to hold whatever tag you create, and then branch the logic based on the value of type, which identifies it’s for JavaScript or for CSS. Hence, the attribute acts as an identifier to the tag.