-
What is the default type of ‘type’ attribute of <input> element?
-
- Password
- Numerals
- Text
- Special Characters
- None of these
Correct Option: C
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.