With for and id attributes on the label and input What it sounds like Username, edit text. This is great because the label is explicitly associated with the input. What it looks like Username <label for="id-003">Username</label> <input type="text" id="id-003">