HTML Forms

Let’s learn about HTML form controls and form elements.

The web browser needs to render a user interface (UI) for user-interactive web applications. The a software application’s UI operates much like a form. The special elements for data input, data output, and user actions are called form controls or UI widgets.

What is a form element?

In HTML, a form element is a section of a web page consisting of block elements that contain form controls and labels on those controls. Users complete a form by entering text into input fields and by selecting items from choice controls, including dropdown selection lists, radio button groups, and checkbox groups. A completed form is submitted when the “Submit” button is clicked. When a user submits a form, it’s normally ...