Create a clear association between a form control and its label by ensuring labels are positioned properly within html markup. Do not separate a form control from its label with additional text, images, etc. If there are two or more controls on a single line, labels should be placed immediately after its corresponding control or place each label and control on a separate line.
![]() | <!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/10.2.1</title> </head> <body> <form action=""> <input id="control1" type="text" /> Text between control and label. <label for="control1">Some text:</label> </form> </body> </html> |