W3C

First Public Working Draft: Non-element Selectors Module Level 1

The Cascading Style Sheets (CSS) Working Group has published a Working Draft of Non-element Selectors Module Level 1. This specification extends Selectors Level 4 and allows selecting other kinds of document nodes than elements. This is useful when selectors are used as a general document query language. Non-element Selectors are not intended to be used in CSS, but only as a separate query language in other host environments. CSS is a language for describing the rendering of structured documents (such as HTML and XML) on screen, on paper, in speech, etc. Learn more about the Style Activity.