How It Works: Using Controls to Build Web Forms

In this lesson, we'll go through the workings of the previous coding exercise together. Let's begin! :)

How it works

In the previous exercise, you added a number of text controls to the form. The markup you inserted in step two contained two <fieldset> sections, each having its own <legend>. The first section had <input> tags with the “text” type.

The second one has two fields with “password” type, and that is why the related textboxes masked the text typed in.

Get hands-on with 1200+ tech skills courses.