add a class to the child css code example Example: css all children of type /* Affects all a inside the #nav element: */ #nav a{ color: black; }