HTML Forms

HTML Forms

HTML form displays html input elements like: text fields, password fields, checkboxes, radio buttons, buttons, menus etc.
The <input> element is the most important form element, the input element defines an input control.

The HTML <input> tag can have the following attributes:
The type attribute specify the type of the input control.
The name attribute specify the name of the input control.
The value attribute specify the value of the input element.
The size attribute specify the size for the input element.
The maxlength attribute specifies the maximum allowed length for the input element.

HTML Forms

<!DOCTYPE html>
<html>
	<head>
		HTML Forms
	</head>
<body>
	
First name:
Last name:

HTML
CSS
PHP

Oracle SQL Server MySQL
</body> </html>

Result:



HTML Forms

First name:
Last name:

HTML
CSS
PHP

Oracle
SQL Server
MySQL