Common form elements, attributes, and styles

This template includes example fieldsets, legends, inputs, labels, textareas, select options, and buttons which can be used inside form tags.

View the source of this page to see how tags are nested, closed, and embellised with accesskeys and tabindexes.

Accesskeys are labeled with an underline and can be used with the Alt-Shift (Windows) or Control (Mac) keys.

The following topics used in the form controls below may NOT be used for the Assignments. Define the purpose, text, values, to be unique from the demos.

Input controls with various type attributes
Input types for multiple or single selections.

Checkboxes for multiple selections.

Radio buttons for a single selection.

Dropdown list of select options in groups.
Disabled Input
Multi-line text field with scrolling

Use the drag corner to stretch the textbox to the right and down.

Buttons