Is there a way to target only the h4 tags that do not contain an h3 tag with the class "avoid"? Specifically, I am looking to select the first and fourth h4 nodes for this scenario.
<div>
<h4>
<h1><h1>
<h2><h2>
</h4>
<h4>
<h1><h1>
<h2><h2>
<h3 class="avoid"><h3>
</h4>
<h4>
<h1><h1>
<h2><h2>
<h3 class="avoid"><h3>
</h4>
<h4>
<h1><h1>
<h2><h2>
</h4>
</div>