What is the purpose of holding whatever tag you create in the attribute type?
What is the purpose of holding whatever tag you create in the attribute type? 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.