Text Fields

Text Fields
Text fields are used when you want the user to type letters, numbers etc. in a form.
<form> First name: <input type=”text” name=”firstname”></form>
example page in browser will look like
First name: <input type=”text” name=”firstname”>
Last name: <input type=”text” name=”lastname”>
First name
Last name
Note that the form itself is not visible. Also note that in most browsers, the width of the text field is 20 characters by default. You can check them by typing in Text fields.