back

Child

You can use CSS to select the children of an element.
To select a child element, put a greater-than sign ( > ) between the two elements in the CSS

In the example HTML, the paragraph (Lorem) is a child of div76, and the paragraph (Ipsum) is a grandchild, so only (Lorem) is styled.

Example