VOOZH about

URL: https://www.geeksforgeeks.org/html/html-input-typesearch/

⇱ HTML <input type="search"> - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML <input type="search">

Last Updated : 20 May, 2024

The HTML <input type="search"> element creates a search input field. It allows users to enter search queries. It typically includes features like a clear button to easily remove the entered text and may have a search icon to indicate its purpose. This element is useful for implementing search functionality in web forms.

Syntax

<input type="search">

Example: This example demonstrates the use of HTML <input type="search"> element.

Output

👁 HTML-Input-Type-Search

Supported Browsers

  • Chrome 5
  • Edge 12
  • Firefox 4
  • Opera 10.6
  • Safari 5
Comment
Article Tags: