Current Assignment(s)
A6: Color
Due: Recommended by Monday, 6.04
Due: Recommended by Monday, 6.04
Descendent Selector
The descendant selector tells the browser to select all elements that are a descendant of the first.
To create a descendant selector, place spaces between each subsequent selector. In the following example, only paragraph elements in the second div block are selected.
NOTE: The sub-level does not matter, only that the element is hierarchically related to the first.
- Previous
- Next