Simple site search

I just added simple search to this site for my blog posts with the following code:

<form action="" method="get">
    <input type="search" name="q" placeholder="Search" results="0" />
    <input type="hidden" name="q" value="" />

This will create a working search input that looks like this:

The code above leverages a number of little known facts about HTML forms and Google:

© 2013 John W. Long