We have tried in domcfg.se making a custom login form XHTML 1.0 compliant, with fields $$HTMLFrontMatter and $$HTMLTagAttributes etc.
Domino, however, renders the form as HTML 4.0.1, not XHTML 1.0.
Others have made the same observations and commented it in Lotus Forums.
Any suggestions on a workaround?