a) attribute name
b) tag name
c) class name
d) none of the mentioned
Answer: b
Explanation: The attribute name describes name of <input> element. The tagName property returns the tag name of the element. In HTML, the returned value of the tagName property is always in UPPERCASE. Name of class is returned by class name.
Related Posts
Which attribute defines the file-select field?
Which attribute is used for activation of JavaScript?
How does the color attribute work?
Which of the following is a new input attribute introduce by HTML5?
What is the default type of ‘type’ attribute of <input> element?
Which browser supports mozCurrentSampleOffset?
What can not be done by controls attribute?
Join The Discussion