Really, Room right before / is most well-liked for compatibility sake, but I do think it only is sensible for tags that have attributes. So I'd say either or , whichever pleases your aesthetics.To very clear up confusion: Placing an area ahead of the slash is not necessary in HTML5 and isn't going to make any change to how the webpage is rendered (