Absent the availability of SGML or XML validation for HTML5, aside from a "validator" at W3C, one needs to know what will pass the major browsers.
The last time I checked: In HTML 5 as "text/html" use <hr /> (with space) to enable xml well-formedness except in foreign name spaces such as MathML, where, for example, one wants to use <mspace></mspace> instead of <mspace />. (<hr> is OK, but that breaks xml well-formedness.) -- Bill On Sun, Aug 18, 2019 at 6:08 PM Karl Berry <k...@freefriends.org> wrote: > Follow-up Comment #2, bug #434 (project tex4ht): > > I'm not sure about this, Michal. If it's only claiming to be "traditional" > HTML, not XHTML or HTML5, those XML-ish statements actually break browsers > and > validation. I've tried to add <hr/> and the like to plain HTML before, and > it > didn't work out well. > > > _______________________________________________________ > > Reply to this item at: > > <http://puszcza.gnu.org.ua/bugs/?434> > > _______________________________________________ > Message sent via/by Puszcza > http://puszcza.gnu.org.ua/ > > -- William F Hammond Email: gel...@gmail.com https://www.facebook.com/william.f.hammond http://www.albany.edu/~hammond/