What is the default type of ‘type’ attribute of <input> element?
a) Text
b) Password
c) Numerals
d) Special Characters
Answer: a
Explanation: Text input type defines single line text field. Type is the attribute that displays type of <input> elements. Its default type is text. It is supported by most of the browsers like Chrome, Internet Explorer, Firefox, Opera. Syntax is: <form action=”jump.php”> Name:<input type=”text” name=”name”> </form> A password field is defined by password input.
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?
Which browser supports mozCurrentSampleOffset?
What can not be done by controls attribute?
Which of the following is not a Boolean attribute for <audio> element?
Join The Discussion