Back to index page

HTML Test Pages: Forms - for and id reference labeling

for and id reference

Back to index page

form 1.1

good for and id reference


form 1.2

good for and id reference: multiple label elements refer to one control

form 2

label element does not have content

form 3

label element is not unique


form 4

Form control does not have id attribute defined


form 5

id attribute of form control is empty


form 6

id attribute of form control is not unique



form 7

for attribute of label element makes invalid reference

form 8

non-encapsulating label element does not have for attribute



Back to index page

Expected Rule Results

HTML Source Code

Show HTML Source Code: form-test3.inc