HTML Text Input | |
One way users can enter data into a HTML document is via text. The most common scenario is when users have to enter a username and password to enter a site. There are three common types of text input:
The syntax is <input type=text name=c>. Here, the key for this text input value is 'c'. Below is an example:
Text example:
The syntax is <input type=password name=pwd>. Here, the key for this password input is 'pwd'. Below is an example:
Text example:
The syntax is <textarea rows=[row height] name=area>. The key for this textarea input is 'area'. Below is an example, with [row height] = 2:
Text area example: