On Microsoft Windows systems, you typically press the Alt key in addition to the access key. Thus, to access the userName field on a Windows system, you'd press Alt-N. Browsers should display the access key for an input field in some unique way, such as with underlined or bold text. You can assign the access key to a form field directly using the accesskey attribute, but you can help the browser better determine how to render the access key by labeling your input fields and assigning the access key to the label. Labels are new to HTML 4.0. When you label a form field, you attach information to the field.
Labels use a for attribute to identify the related form field.
The value of this attribute must correspond to the value of an id attribute in the related field. Another useful form enhancement is the button element. This element creates a push button, much like the Reset and Submit buttons used in forms. Thus, you could replace the standard Submit and Reset buttons used in a previous example with button elements. To make these elements stand out, you could add text and images, such as . . .