|Universal selector (all elements)|
|Tag selector (all |
|Class selector (all elements with class |
|All elements with class |
|ID selector (the element with "id" attribute set to |
|All elements with pseudo-class|
|Element that matches pseudo-element|
|Element that matches :lang declaration, for example |
Note: The value of an ID must be unique in a web page. It is a violation of the HTML standard to use the value of an ID more than once in the same document tree.
A complete list of selectors can be found in the CSS Selectors Level 3 specification.