HTML Forms Examples
This page contains examples of HTML forms - examples of form-specific code that you can use for your own website.
To use the code, copy it straight from the text box and paste it into your own website. Feel free to modify it as required.
| Description | Code | Result |
|---|---|---|
| Basic Form Tags (insert all form elements between these tags) | ||
| Text Input | ||
| Text Area | ||
| Radio Buttons | Option 1 Option 2 | |
| Checkboxes | Option 1 Option 2 | |
| Select List | ||
| Submit Button | Image Button | |
| Textarea with Background Image | ||
| Fieldset | ||
| Example Form (with fieldset) |
