how to use child selectors in css

CSS
ul li { margin: 0 0 5px 0; }
ul > li { margin: 0 0 5px 0; }
Source

Also in CSS: