The "for" attribute must accompany the "id" attribute to explicitly associate a label with its matching form control. The value of the "for" and "id" attributes must be identical. More than one label may be associated with the same control by creating multiple references via the "for" attribute.
![]() | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html lang="en"> <head> <title>aert1.0/12.4.1</title> </head> <body> <form action=""> <label>Some text:</label> <input id="control1" value="****" type="text" /> </form> </body> </html> |