How To Create Your Google Custom Search Form?

Yanwei Liu
Mar 26 · 1 min read

The following search result is equal to 「Keyword site:https://syu3c.com 」on Google

For example: 「二手3C收購 site:https://syu3c.com

<!-- Search Box --><div class="searchbox">   <form action="https://google.com/search" method="get" target="_blank">   <input type="text" class="searchbox-inputtext" id="searchbox-inputtext" name="q" placeholder="Search..">   <input type="hidden" name="sitesearch" value="https://syu3c.com" />
<label class="searchbox-icon" for="searchbox-inputtext"></label>
<input type="submit" class="searchbox-submit" value="Search"> </form>
</div><!-- End of Search Box -->

More From Medium

Also tagged Front End Development

Also tagged Front End Development

Converting a Redux app to Recollect (how and why)

128

Also tagged Front End Development

Also tagged Front End Development

10 security tips for frontend developers

37

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade