# HTML Form Examples Reference This reference consolidates key educational content from W3Schools covering HTML forms, form elements, input types, and form-related attributes. --- ## HTML Forms > **Source:** https://www.w3schools.com/html/html_forms.asp ### The `
``` ### The `` Element The `` element is the most used form element. It can be displayed in many ways depending on the `type` attribute. | Type | Description | |------|-------------| | `` | Displays a single-line text input field | | `` | Displays a radio button (for selecting one of many choices) | | `` | Displays a checkbox (for selecting zero or more of many choices) | | `` | Displays a submit button (for submitting the form) | | `` | Displays a clickable button | ### Text Fields The `` defines a single-line input field for text input. ```html ``` **Note:** The form itself is not visible. The default width of an input field is 20 characters. ### The `