In the CSS Basic Tutorial Combination Selector, are the examples of descendant element selectors and child element selection examples exchanged? These two examples do not seem to correspond to the example code. Descendant element selector example: div .title{ color:red;}. The example is div h1.title{background-color:yellow;} div p.paragraph{background-color:#88ff88;}
I don’t quite understand what you said, but here div h1.title{background-color:yellow;} The child element .title under H1 needs to have a space between it and H1