Please check out my jsfiddle
http://jsfiddle.net/WK2N3/1/
How can I make this on autofocus like it is for chrome, safari, opera and firefox for IE?
You will have to rely on javascript to do this, since html5 autofocus is not supported in IE. There is a good blog post about it here : http://www.html5tutorial.info/html5-autofocus.php
Basically, you first check if the attribute is supported, and then use javascript to manually focus in said input using the focus()
method if it is not.