24 Jun 2017
HTML Form Controls
HTML Form Controls
The following article describes different types of form controls that we can use in your form.
Text Input Fields
Text input field is a one line area that allow us to input text.
Example:
<html>
<form>
Username: <input type=”text” name=”txt_name”/>
</form>
</html>
<form>
Username: <input type=”text” name=”txt_name”/>
</form>
</html>
Password Input Fields
Password input field is also a single line text input. The only difference is, it masks the character as the user enters it.
Example:
<html>
<form>
Password: <input type=”password” name=”txt_password”/>
</form>
<form>
Password: <input type=”password” name=”txt_password”/>
</form>