<p>
This paragraph <a href="https://opus.ing/" target="_blank">has a link</a>. Check it out!
</p>

<p>
This paragraph does not have a link.
</p>

<p>
This paragraph <a href="https://opus.substack.com/" target="_blank">also has a link</a>. It's pretty cool.
</p>
p {
  color: red;
}

p:not(:has(a)) {
  color: blue;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.