HTML Search BoxThe HTML Search Box allows a user to search the content. The Search is a value of type attribute of an element. SyntaxExamples: The following examples have used the different CSS codes for displaying the different Search boxes on the web page. Example 1: Output: 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. Output: Browser Support
Next TopicHTML Selected Attribute
|