<html>
<head>
<title>CodeAve.com(Forms: Text Box)</title>
</head>
<body bgcolor="#FFFFFF">
Basic Text Box<br>
<form action="post.asp"
method="post">
<input type="text"
name="Text">
<input type="submit"
value="Submit">
</form>
<!-- The basic text box -->
<br>
Text Box with a Specific Width<br>
<form action="post.asp"
method="post">
<input type="text"
name="Text"
size="15">
<input type="submit"
value="Submit">
</form>
<!-- Size="numeric value" will adjust
a text box horizontally -->
<br>
Text Box with a Specified Initial Value<br>
<form action="post.asp"
method="post">
<input type="text"
name="Text"
value="Initial Value">
<input type="submit"
value="Submit">
</form>
<!-- value="intial value" will place text inside the text box
-->
<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 -->
<br>
Text Box - Passwords<br>
<form action="post.asp"
method="post">
<input type="password"
name="Text">
<input type="submit"
value="Submit">
</form>
<!-- By changing the input type to password the text box will allow
input, but will block the display in the browser -->
</body>
</html>
|