Complete the code to add a placeholder to the input field.
<label for="username">Username:</label> <input type="text" id="username" name="username" [1]>
The placeholder attribute shows a hint inside the input box before the user types.
Complete the code to correctly link the label to the input field.
<label [1]>Email:</label> <input type="email" id="email" name="email">
The for attribute in the label must match the input's id to link them.
Fix the error in the code to make the placeholder show correctly.
<input type="password" id="pass" name="pass" [1]>
The correct attribute is placeholder all lowercase, no underscores or dashes.
Fill both blanks to create a label linked to an input with a placeholder.
<label [1]>Phone:</label> <input type="tel" id="phone" name="phone" [2]>
The label uses for="phone" to link to input's id. The input uses placeholder to show the hint.
Fill all three blanks to create a labeled input with id and name attributes.
<label [1]>City:</label> <input type="text" [2] [3]>
The label uses for="city" to link to input's id="city". The input also has name="city" for form data. The placeholder is optional here but not asked.