how to select a tag child element in css code example Example: how to use child selectors in css Click to copyul li { margin: 0 0 5px 0; } ul > li { margin: 0 0 5px 0; }