<label for="firstname">First name:</label>
            <input type="text" id="firstname" />
            <label for="lastname">Last name:</label>
            <input type="text" id="lastname" />
Figure 5.1: Labels are visually associated by proximity with text input fields. In code, labels are programmatically connected using the <label> element, the “for” attribute, and the input field’s “id” attribute making the connection.