bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replace HTML4 doctype declaration


From: Jacob Bachmeyer
Subject: Re: Replace HTML4 doctype declaration
Date: Sun, 19 Dec 2021 19:43:36 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 MultiZilla/1.8.3.4e SeaMonkey/1.1.17 Mnenhy/0.7.6.0

Patrice Dumas wrote:
On Sat, Dec 18, 2021 at 08:01:50PM -0600, Jacob Bachmeyer wrote:
I would suggest staying with HTML4; it is upwards compatible in that an
HTML5 parser should generally be able to read it, and the HTML4 DOCTYPE
actually declares a version, instead of the "eternal now" HTML5 uses.  That
may be suitable for shiny Web apps that change day-by-day and are always
loaded from the cloud, but an actual fixed version is much better for
documentation, which may be read from an archive years from now.  There will
be no question as to the correct interpretation of an HTML4 document, ever,
while HTML5's versionless declaration leaves open future questions of "now
which version of HTML5 is this?".

Actually, we do not output perfect HTML4, and bad HTML5.

Then we should improve our HTML4 output.

It is probably unrealistic to consider that we could be able to maintain
a customization for HTML 4 as we move on with HTML 5.  If there are
motivated persons, it could be done as an init file.

Is there even a reason to move to HTML5 at all? Texinfo produces documents, not Web apps. What does HTML5 bring to the proverbial table that HTML4 lacks?

As a side note, there is an html3.2 init file, but it is not up to date,
and I do not think that it would be interesting to invest much time in
this file.  Nowadays, it is mostly used to check that it is still
possible to do the kind of customizations required for baxward
compatibility.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]