You know what? Playing with forms and HTML5 can be really funny.
One single Attribute
Just add autofocus and it should automatically get focus when the page loads 😉
NOTE: Several HTML5 attributes, like autofocus, can be written like this:
Autofocus Supported Browers
Google Chrome, Safari, Firefox and Opera.
Full HTML5 Example
Please notice the script used after the Second Input.
< !DOCTYPE html>