HTML Form Elements
This chapter describes all the different HTML form elements.
The <input> Element
One of the most used form element is the `<input>` element. The `<input>` element can be displayed in several ways, depending on the `type` attribute.
The <select> Element
The `<select>` element defines a drop-down list:
Select Example
Result
The `<option>` elements defines an option that can be selected. By default, the first item in the drop-down list is selected.
The <textarea> Element
The `<textarea>` element defines a multi-line input field (a text area):
Textarea Example
Result
The <button> Element
The `<button>` element defines a clickable button:
Button Example
Result