HTML Checking for Large Sites

Rocket Validator automatically checks your pages on the W3C Validator.

Bad value “X” for attribute “for” on element “label”: An ID must not contain whitespace.

The <label> element represents a caption in a document, and it can be associated with a form input using the for attribute, which must be an ID. Document IDs cannot contain whitespace.

Example:

<form>
  <label for="user_name">Name</label>
  <input type="text" id="user_name" />
</form>

Learn more:

Related W3C validator issues

Still checking your large sites one page at a time?

Save time using our automated web checker. Let our crawler check your web pages on the W3C Validator.