Really, space right before / is most well-liked for compatibility sake, but I think it only makes sense for tags which have attributes. So I'd say either or , whichever pleases your aesthetics. @Knickerless-Noggins I'm undecided in which you're reading that, but is correctly acceptable, and W3Schools isn't the spec for HTML. Almost all of the