inputelement with the
typeattribute having a value of either "text" or "password" respectively. The
inputelement is an empty element, i.e. no content appears between the start and end tags, and hence only the start tag
"firstname". The current value automatically becomes whatever the user types in.
Here's a password text field. This type of text field disguises the user input as a series of asterisks or dots. Try typing in some text to see this in effect.SOURCE CODE
<input type="text" name="firstname">
In the HTML source code, you can insert text and other HTML elements to create 'labels' and to control the presentation of your web form. The example below inserts the word "Password" before theSOURCE CODE
<input type="password" name="login">
<br>tag is then added to place the text field below the label.
Password:<br><input type="password" name="login">
textareaelement which requires both a start tag
<textarea>and an end tag
</textarea>. The height of the text field is established by inserting the
rows="nn"attribute-value pair where nn equals the height in number of text lines. The width of the text field is established by inserting the
cols="nn"attribute-value pair where nn equals the width in number of character widths.
<textarea rows="15" cols="50" name="comments">
If you need a .COM web address, you can get one quick and easy at...
|<~ BACK||TOP||NEXT ~>|