Editar o código:
ver o resultado »
Tente você mesmo - ©
w3ii.com
In this example, the text field gets focus immediately after the document window has been loaded.