You'll author HTML5, not XHTML — but XHTML's rules are the reason "lowercase, quoted, closed, well-nested" is universal good style. Keep the discipline, skip the brittleness. References: the W3C XHTML specs and validator, the EPUB spec for e-book work, and MDN's HTML pages for the modern syntax you'll actually ship.