Listing 1. HTML Form with Single Text Field

<HTML>
<Head>
<Title>Test form</Title>
</Head>
<Body>
<Form method="POST" action="/cgi-bin/hello.pl">
<P>Please enter your first name:
<input type="text" name="firstname"></P>
<P><input type="submit">
</Form>
</Body>
</HTML>