Tim just started working as an intern for a local television station. He is responsible for maintaining the station’s website, and he is learning CSS as fast as he can.
Tim wants his selector to show that an element is a direct child of another element so he uses _____ between the elements in his selector. a.
b.
$ c. * d.
Tim should use a. > between the elements in his selector to indicate that an element is a direct child of another element.
For example, if you want to select all <p>
elements that are direct children of a <div>
, you would write the selector as div > p
.