Basically, space just before / is desired for compatibility sake, but I think it only is sensible for tags which have attributes. So I might say either or , whichever pleases your aesthetics. You should not provide it with the XML declaration if utilizing text/html, although the content material can be or else legitimate XML (e.g. generated from