EN
HTML - search input
0 points
In this article, we would like to show you how to create search input in HTML.
Quick solution:
xxxxxxxxxx
1
<input type="search" name="search-name" />
In this example, we create search input using input
element's attribute type="search"
.
xxxxxxxxxx
1
2
<html>
3
<body>
4
<label>
5
<span>MySearch:</span>
6
<input type="search" name="my-search" />
7
</label>
8
</body>
9
</html>