I'm trying to select `<a>` elements that are not the parents of `<img>` elements. (Note: if it's relevant some of the anchors I want to select are childless.) I tried this:

```
a > :not(img) {}

```

and this:

```
a:not(> img) {}

```

but neither of them seem to work. How would I accomplish this in CSS?