<html> <head><title>A simple page with the focus on a text edit</title></head> <script> function init() { document.f.q.focus(); } </script> <body onload="init()"> <h1>Hello</h1> Search: <form name=f> <input name=q size=55 title="Google Search" value=""><br> <form> <a href="http://www.google.com">Google</a> <a href="http://mail.google.com">GMail</a> <a href="http://maps.google.com">GMap</a> </body> </html>