On Wed, Aug 03, 2022 at 04:36:08PM -0500, Jacob Bachmeyer wrote: > > This is one of the reasons I believe that Texinfo should stick with HTML > 4.01 Strict or some version of XHTML. Those are fixed targets. HTML5 is a > moving target. I expect that either of those should be enough for Texinfo > documentation.
Currently texi2any generates 4.01 mostly Strict (probably not for some table related attributes as some were removed but then reappeared in HTML5), with one exception, a data* attribute. In the developpement version, setting NO_CUSTOM_HTML_ATTRIBUTE and setting the DOCTYPE would give you the HTML you want. It is a good thing, in my opinion, to try to generate HTML 4.01 as long as possible. However, if new features of HTML5 that are incompatible with 4.01 suit us, we will use them, as I think that all the browser now can interpret HTML5 correctly. So, even if HTML5 is a moving target, something I personnally find insane (amounting to considering that the will of the dominant browser vendors to have a moving definition of HTML that suits them is more important than the need of the web developpers/webpage writers and of the other HTML reader developpers to have a known target), we could switch to HTML5 any time. -- Pat
