| Type | Example | Description |
|---|---|---|
| Descendant | table td | Selects elements that descend from the elements represented by the previous selector. |
| Child | table > tbody > tr > td | Selects elements that are child nodes of the elements represented by the previous selector. |
| Next-sibling | #sec2 + div + form | Selects sibling elements that appear after the elements represented by the previous selector. |
| Subsequent-sibling | #sec2 ~ form | Selects sibling elements that immediately follow the elements represented by the previous selector. |