Skip to main content
HTML Validation

Bad value “” for attribute “id” on element “select”: An ID must not be the empty string.

About This HTML Issue

The id attribute is used to identify a single element within a document, it’s not required, but if used it must be unique, and must not be an empty string.

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.