How can I target with css the anchor tag named #individualProfile that is a child of another a href?
I have this from inspected element, where the tag is appended using append()

How can I target with css the anchor tag named #individualProfile that is a child of another a href?
I have this from inspected element, where the tag is appended using append()

Copyright © 2021 Jogjafile Inc.
As Paulie_D just mention, you shouldn't have an
awrapped in anothera.Meanwhile, if you can't change the HTML structure, you can try this :
This targets the first
awith anhrefattribute, then the>select a direct child of it, and then specify theawith the wantedhref.This should anyway be more specific, as there can be a lot of other
awithhrefattributes in your page than the one you want to style.Here's a reference on MDN of attribute selectors for further informations.