Skip to main content

HTML Guide

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

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?

Related W3C validator issues