Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed (UPI) Chapter 7: Facilitating User Interaction with HTML Forms!

Instruction

Example Code for Aligning Labels and Inputs

<form id="registration-form">
    <label for="firstname">First name:</label>
    <input type="text" id="firstname" autofocus><br>
    <label for="lastname">Last name:</label>
    <input type="text" id="lastname"><br>
    <label for="address">Address:</label>
    <input type="text" id="address"><br>
    <label for="city">City:</label>
    <input type="text" id="city"><br>
 ...