In XHTML5, you could change it to a non-void element type easily. In HTML5, you would need some tricks. To imagine which ones, we would need to know what follows
<hr> in existing content – and what encompasses it Also, I’m a fan of upycling. If only
<h#/> content would be allowed it would always auto-close quickly.
I really don’t like
<hr>, at least not as meaning horizontal rule. I tried to argue to keep it out of HTML 5 back in the day. I pointed out that it could well be interpreted as a non-leveled, empty heading, not just because of hr resembling h#..