The for attribute specifies which form element a label is bound to. The intended display name might change over time, and the combination of Display attribute and Label Tag Helper will apply the Display everywhere it's used. The step attribute works with the following input types: number, range, date, datetime-local, month, time and week. Ask Question Asked 7 years, 8 months ago. A label, or caption, for a form control.. A label can be associated to a form control either by nesting the control within it or by matching the value of the label’s for attribute to the value of a control’s id attribute. A piece of text. Adam Wood.