Matches any element.
Matches any E element (i.e., an element of type E).
Matches any F element that is a descendant of an E element.
Matches any F element that is a child of an element E.
Matches element E when E is the first child of its parent.
Matches element E when E is the last child of its parent.
Matches element E if E is the source anchor of a hyperlink of which the target is not yet visited (:link) or already visited (:visited).
Matches E during certain user actions.
Matches any F element immediately preceded by a sibling element E.
Matches any E element with the “foo” attribute set (whatever the value).
Matches any E element whose “foo” attribute value is exactly equal to “warning”.
Matches any E element whose “foo” attribute value is a list of space-separated values, one of which is exactly equal to “warning”.
Matches any E element whose “foo” attribute value is a list of space-separated values, one of which is exactly equal to “warning”.
Matches any E element whose “lang” attribute has a hyphen-separated list of values beginning (from the left) with “en”.
The same as DIV[class~=“warning”]
Matches any E element with ID equal to “myid”.
Matches any E element having “foo” attribute whose value begins with the prefix “val”.
Matches any E element having “foo” attribute whose value ends with the suffix “val”.
Matches any E element having “foo” attribute whose value contains at least one instance of the substring “val”.
Matches any E element which is Bth child of an parent element after all its children have been split into groups of A elements each. A and B are integer numbers.
Matches any E element which is Bth child of an parent element after all its children have been split into groups of A elements each and counting from last to first direction.
Matches “current” elements, e.g. this selector matches current <option> in <select> element.
Matches checked elements. E.g. checked <input type=checkbox> or <option> in <select multiple> element.
Matches disabled elements.
Matches read only input elements.
Matches elements in expanded or collapsed states. E.g. <options> - nodes in tree-views (<select> elements).
Matches img elements in incomplete state (while it downloads remote image).
Matches focusable input elements.
Matches anchor elements.
Matches synthetic elements - elements synthesized by the engine, e.g. in some circumstances engine can create additional '<td>' elements to fill “holes”.
Matches elements shown as popup windows.
Matches elements that has popup window shown for it.
Matches input element in focus.
Matches input element in focus when it got focus by tab key traversal.
Matches element for which engine is executing remote request. E.g. <frame> awaiting document to arrive has this state.
Matches element that is activated either by mouse or by keyboard key press.