![]() |
Suggested Reading
|
![]() |
---|---|---|
tag/attrib/value | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
description |
---|---|---|---|---|---|---|---|
* | 2 | - | - | - | - | Universal selector | |
Element | 1 | 3 | 4 | 3 | Type selector | ||
Element1 Element2 | 1 | 3 | 4 | 3 | Descendant selector | ||
Element1, Element2 | 1 | 3 | 4 | 3 | Multiple selectors | ||
Element1 > Element2 | 2 | - | - | - | - | Child selector | |
Element:Pseudo-class | 1 | 3 | 4 | 3 | Pseudo-class selector | ||
Element1 + Element2 | 2 | - | - | - | - | Adjacent selector | |
Element[Attribute] | 2 | - | - | - | - | Attribute selector | |
Element[Attribute=Value] | 2 | - | - | - | - | Attribute selector | |
Element[Attribute~=Value] | 2 | - | - | - | - | Attribute selector | |
Element[Attribute|=Value] | 2 | - | - | - | - | Attribute selector | |
Element.Value | 1 | 3 | 4 | 3 | Class selector | ||
Element#Value | 1 | 3 | 4 | 3 | ID selector |