Home » HTML » Html miscellaneous » Question
  1. For creating single line text box for searching queries, we use the type ___________.
    1. url
    2. placeholder
    3. hidden
    4. search
    5. None of these
Correct Option: D

For creating a single line text box for searching queries we use the type=”search”. In old browsers, it will be simply a single line text box. Safari adds across that clear search box when we enter new data to search. It also rounds the corners on search input fields by default.



Your comments will be displayed only after manual approval.