Basically, Place in advance of / is desired for compatibility sake, but I think it only makes sense for tags that have attributes. So I'd say possibly or , whichever pleases your aesthetics. You shouldn't serve it with an XML declaration if employing text/html, even so the content may be usually legitimate XML (e.g. created from something which