HTML Search BoxThe HTML Search Box allows a user to search the content. The Search is a value of type attribute of an <input> element. SyntaxExamples: The following examples have used the different CSS codes for displaying the different Search boxes on the web page. Example 1: Test it NowOutput: Example 2: In this example, we have not used the search value of the type attribute of an input element. But we have used the text input field using CSS, which is working as a search field. Test it NowOutput: Browser Support
Next TopicHTML Selected Attribute
|