I need to target a tags with img inside them. Can I do this through css or do I have to use jQuery?
additional info from comment
I set a:hover { border-bottom:1px dotted #fff } but I don’t want the border to apply to a tags with img inside them.
There’s no :has in css. In jQuery you can do