search attribute
<input type=search>
Explanation
Search Attribute is used to enter the value in the input field.
It acts like a normal text field.
Example Code:
Result :
- If a text is entered in the input field, then the "Cross" symbol appears in right corner of the field.
- Use the cross symbol to delete the unnecessary text entered in the input field.
Limitations:
It will function only in Chrome and Safari browsers.