HTML <search> Tag
Surround the search form with a search element:
<input name="fsrch" id="fsrch" placeholder="Search W3Schools">
Definition and Usage
<search> tag is used to specify that here comes a set of
elements that is related to search.
Elements inside a
<search> elements can typically be form elements
used to perform a search.
element does not render as anything special in a browser.
However, you can use CSS to style the
<search> element and its content.
<search> tag also supports the Global Attributes in HTML./p>
<search> tag also supports the Event Attributes in HTML./p>
The <form> Tag.
The <input> Tag.
Default CSS Settings
MMost browsers will display the
<search> element with the following default values: