1.

What is the default type of ‘type’ attribute of element?(a) Text(b) Password(c) Numerals(d) Special CharactersThis question was addressed to me in an interview.This intriguing question comes from Input Types for Forms in portion HTML Markup, Forms, Video, Audio & Other Multimedia of HTML

Answer»

Correct choice is (a) Text

The best I can explain: Text input type DEFINES single line text field. Type is the attribute that displays type of ELEMENTS. Its default type is text. It is supported by most of the browsers like Chrome, Internet Explorer, Firefox, Opera.Syntax is:

Name:
A PASSWORD field is DEFINED by password input.


Discussion

No Comment Found

Related InterviewSolutions