Actually, space in advance of / is preferred for compatibility sake, but I feel it only makes sense for tags that have attributes. So I'd say both or , whichever pleases your aesthetics.To very clear up confusion: Putting a space before the slash just isn't demanded in HTML5 and isn't going to make any distinction to how the website page is rendere