HTML has several void elements.
These cannot have any content, and cannot have separate closing tags. Closing a void element like this is invalid html.
Void elements can optionally be self-closing, so these are both correct.
<!-- prettier-ignore --><img alt><img alt />