Text boxes enable users to directly input a line of text into your application. This is very useful for when you might ask users for their name, e-mail address, password or other small piece of information. Constraints can be placed on the size of the text box and amount of input you allow the user to enter. The following examples will demonstrate some of the basics of text boxes.

<br>Text Box with a Specified Initial Value<br>
<form action="post.asp"
method="post">
<input type="text"
name="Text"
maxlength="5">
<input type="submit"
value="Submit">
</form><!-- maxlength="numeric value" will
limit the number of characters
that can be entered by a user -->