Skip to main content

HTML Guide

“label” element with multiple labelable descendants.

The label element may only contain one labelable descendant.

For example:

<label for="age">
  Age
  <select id="age">
    <option>young</option>
    <option>old</option>
  </select>
</label>

Learn more:

Related W3C validator issues