Adam Wood. This means that you can lay out your forms like this: There is no default value of HTML for attribute. The step Attribute. The step attribute works with the following input types: number, range, date, datetime-local, month, time and week. Identification reference. Tip: This attribute can be used together with the max and min attributes to create a range of legal values. If there is an element on the page with an id matching the label's for attribute, revert to default functionality and focus that input. Or you can reference the associated element by it's ID using the for attribute. 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.