Home » HTML » HTML Forms » Question
  1. What is the default type of ‘type’ attribute of <input> element?
    1. Password
    2. Numerals
    3. Text
    4. Special Characters
    5. 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.



Your comments will be displayed only after manual approval.