Skip to main content
HTML Validation

The element “label” must not appear as a descendant of the “a” element.

About This HTML Issue

A <label> tag can’t be used inside an <a> tag. Consider using other tags like <span>.

Last reviewed: October 27, 2022

Was this guide helpful?

Find issues like this automatically

Rocket Validator scans thousands of pages in seconds, detecting HTML issues across your entire site.

Ready to validate your sites?
Start your free trial today.