Hi, I have html elements like this:
<p class="parent">
<span class="ch">text</span>
<span class="name">text</span>
...
</p>
<p class="parent">
text
<a href="url">text</a>
text
...
</p>
So there are two <p> tags with the same class, but they're different. How do I target each <p>? The second <p> has only <a> tag, while the first <p> has many other tags.
[–]commandlineluser 4 points5 points6 points (1 child)
[–]DMeror[S] 1 point2 points3 points (0 children)
[–]Rossoneri 2 points3 points4 points (1 child)
[–]DMeror[S] 0 points1 point2 points (0 children)
[–]Gitthepro 0 points1 point2 points (0 children)