When creating a form for use on a webpage, it may be desirable to have the cursor
This example is from a CGI script that creates the form.
use CGI qw(:standard);
Please enter your login ID. This is the same as your network login. A password
is not necessary.
Here are the key points:
The form has to have a name--see the 'name="form"' part.
In the body of the form, use the 'onload' directive. The syntax for the
value is the word 'document' followed by the name you gave the form, followed by the
name you gave the desired field, followed by 'focus(), all connected with dots.