PageTutor.com 

Go ahead and remove VALUE="44 Cherry St".

<FORM>
<INPUT TYPE="text" NAME="ADDRESS" SIZE=30>
</FORM>


If we want, we can specify how many characters a user can input.
Just go ahead and try to input more than 10 characters!

<FORM>
<INPUT TYPE="text" NAME="ADDRESS" SIZE=30 MAXLENGTH=10>
</FORM>

I suppose this feature might come in handy now and again, but unless you think someone's going to send the whole King James Bible down the pike at you, I wouldn't worry about it.


Very similar to the TYPE=TEXT is the TYPE=PASSWORD. It is exactly the same, except it displays *** instead of the actual input. The browser will send you the input, it just won't display it.

<FORM>
<INPUT TYPE="password">
</FORM>


Remember that each <INPUT> must have a NAME.

<FORM>
<INPUT TYPE="password" NAME="USERPASS">
</FORM>

SIZE, VALUE, and MAXLENGTH attributes work here also. By the way, a <TAG> tells the browser to do something. An ATTRIBUTE goes inside the <TAG> and tells the browser how to do it.

Well folks, that's it for the free portion of this tutorial. For the rest, and for much more good stuff, sign up and become a member of PageTutor.com!

<< BACK         NEXT >>
pagetutor.com


Invest in the future - Hug your kid today.