Form Fields: Choice Elements

Learn about elements that come in handy to represent data on a web page which requires choosing an option.

We'll cover the following

You often see form elements that allow users to make a choice among multiple possibilities. A change event will be kicked off once a user changes their choice.


You can add checkboxes to your HTML form by using the tag <input type="checkbox">.

Here’s the code from the example form that offers a user the choice to receive a confirmation email (or not).

Get hands-on with 1200+ tech skills courses.