I want to select only the first a tag, but i'm not sure how. I've tried first child and first of type, but all the a elements get selected. Is it possible since it has many outer elements? Thanks!
<section class="contact">
<div class="container">
<h1 class="heading">contact</h1>
<div class="row">
<div class="text">
<div>
<i class="iconLocation"></i>
<div>
<h3>Location</h3>
<!-- this is the a tag i want to select-->
<p>dfadsf<a href="#">this is the p i want to select</a></p>
</div>
</div>
<div>
<i class="iconPhone"></i>
<div>
<h3>Phone</h3>
<p>dfasdf<a href="tel:1111">1111</a></p>
</div>
</div>
<div>
<i class="iconEnvelope"></i>
<div>
<h3>Email</h3>
<p>fdadfas<a href="#">djfakljsdf@gmail.com</a></p>
</div>
</div>
<div>
<i class="iconClock"></i>
<div>
<h3>Hours</h3>
<p>Monday - Friday: 8AM - 8PM</p>
<p>Saturday and Sunday: 4AM - 8PM</p>
</div>
</div>
</div>
<div class="image">
<img src="">
</div>
</div>
</div>
</section>
`, not the ``.
– Obsidian Age May 16 '19 at 21:49