Skip to content

Instantly share code, notes, and snippets.

@Shininglow
Created August 7, 2017 07:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Shininglow/18ebc736b9116009ddcae8b405ad8b33 to your computer and use it in GitHub Desktop.
Save Shininglow/18ebc736b9116009ddcae8b405ad8b33 to your computer and use it in GitHub Desktop.
<form method="get" action="http://www.google.com/search">
<div style="padding:4px;width:15em;">
<table border="0" align="center" cellpadding="0">
<tr><td>
<input type="text" name="q" size="25" style="color:#808080;"
maxlength="255" value="Google site search"
onfocus="if(this.value==this.defaultValue)this.value=''; this.style.color='black';" onblur="if(this.value=='')this.value=this.defaultValue; "/>
<input type="submit" value="Go!" />
<input type="hidden" name="sitesearch" value="yoursite.com" /></td></tr>
</table>
</div>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment