Right. It's the difference between this:
<user-avatar
src="https://www.jim-nielsen.com/.well-known/avatar"
alt="Profile photo of Jim Nielsen"
width="32"
height="32"
title="Jim Nielsen"
/>
And this: <user-avatar>
<img
src="https://www.jim-nielsen.com/.well-known/avatar"
alt="Profile photo of Jim Nielsen"
width="32"
height="32"
title="Jim Nielsen"
/>
</user-avatar>
I will argue that the extra <img> there is worth it for the benefits you get in terms not just of no/slow-loading JavaScript but also better semantics - code that process images in an HTML document will know what to do with the latter, it will be unable to handle the former.