Forms (<form>)

Forms are the main tool for a web site's interaction with users. A form is marked with the <form></form> tags and it is made off one or more named controls that use...

Structural form elements (<fieldset>, <legend>)

The fieldset element allows us to group different form elements (controls) into thematically similar g...

Input fields (<input />)

The input element contains the largest numbers of possible form control types there are. Which control type is going to be used is declared by the attribute type. The optio...

Button element (<button>)

The button element has the same function as an input element but it has richer rendering possibilities...

Drop-down menus (<select>, <optgroup>, <option>)

The select element creates a drop-down like menu that can have one or more options to choose. One option is a minimum number that has to be defined. With the attribute selected

Large text areas (<textarea>)

Text areas are used to enter multiple lines of text into a form. The size of the area is defined by attributes rows and cols. Syntax: <texta...

Labeling form fields (<label>)

The label element is used to add information to a particular control, let say a text field. The advantage of a label element is that a browser recognizes that it belongs to a certain