Guest User

HTML

a guest
Aug 19th, 2015
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.50 KB | None | 0 0
  1. <span style="display:none;">search</span>
  2. <input id="searchinput" type="text" autofocus="autofocus" placeholder="Google Search" autocomplete="off">
  3.  
  4. <!--
  5. Insert this where you want your search bar. This is usually in a positioning div, but it's different for everyone
  6. You might want to change:
  7. CSS ID
  8. placeholder (text when not clicked)
  9. autocomplete (previous searches)
  10. autofocus (cursor in box on load)
  11.  
  12. Note that you can also put the cursor in the text box by pressed "TAB", thanks to the JS
  13. -->
Advertisement
Add Comment
Please, Sign In to add comment