self-closing-tags

HTML void elements are not the only self-closing tags. This includes common SVG self-closing elements as well.

is-self-closing

Returns true if the given name is a HTML void element or common SVG self-closing element.