Essentially, space right before / is most popular for compatibility sake, but I believe it only is smart for tags which have characteristics. So I might say either or , whichever pleases your aesthetics. You should not provide it having an XML declaration if applying text/html, but the content material might be normally valid XML (e.g. produced