search bar html
snippet in html

search bar html code

user4613

<!-- Load icon library -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

  
<!-- The form -->
<form class="example" action="action_page.php">
  
  <input type="text" placeholder="Search.." name="search">
  <button 
  type="submit"><i class="fa fa-search"></i></button>
</form> 

html search input

user4174

<input type="search">

search bar html

user4074

<input type="text" name="search">