How to add Google Search input box in my website

Below is the code for google search bar in our website

<form action=”https://www.google.com/search” class=”searchform” method=”get” name=”searchform” target=”_blank”>
<input name=”sitesearch” type=”hidden” value=”eyeshiv.com”>
<input autocomplete=”on” class=”form-control search” name=”q” placeholder=”Search in example.com” required=”required” type=”text”>
<button class=”button” type=”submit”>Search</button>
</form>



Leave a Reply

Your email address will not be published. Required fields are marked *