how to target a child in html using css code example Example: child css p:nth-child(2) { background: red; }