0

I want to apply certain styles to all <p> elements that don't have nested <a> tags in them. I tried to use the :not() selector like this: p:not(a){ /✱style✱/ } but that did not affect anything. Is there a way to accomplish this? I'm still a beginner at this.

0 Answers0