Here is what I know about using XHTML in practice: https://www.nayuki.io/page/practical-guide-to-xhtml