In fact, space right before / is most popular for compatibility sake, but I do think it only is sensible for tags which have characteristics. So I'd say both or , whichever pleases your aesthetics. To distinct up confusion: Putting an area before the slash just isn't expected in HTML5 and won't make any distinction to how the web page is rendere