Blog Post The Selector With No Class Posted June 4, 2023May 23, 2023 by John RheaWhat does this selector select?.label span:not([class]) {}<em> </em>Code language: HTML, XML (xml) Answer It selects a span element within an element that has a class of “label” as long as that span element does not have a class attribute. Share this: Email a link to a friend (Opens in new window) Email Share on LinkedIn (Opens in new window) LinkedIn Share on Bluesky (Opens in new window) Bluesky Share on Facebook (Opens in new window) Facebook Share on Reddit (Opens in new window) Reddit Share on Mastodon (Opens in new window) Mastodon