bug-texinfo
[Top][All Lists]
Advanced

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

Re: Replace HTML4 doctype declaration


From: Patrice Dumas
Subject: Re: Replace HTML4 doctype declaration
Date: Mon, 20 Dec 2021 01:05:29 +0100

On Sat, Dec 18, 2021 at 03:46:20PM +0000, Gavin Smith wrote:
> On Fri, Dec 17, 2021 at 09:08:24AM +0900, Jean-Christophe Helary wrote:
> > Is there a place *now* where HTML4 is a requirement ? HTML5 is the only 
> > *current* standard and does not specifically target web applications.
> > 
> 
> We output HTML4 to get some flexibility in the output, but I am not sure
> how useful the HTML4 doctype declaration is any more and perhaps we should
> switch to the simpler HTML5 "<!DOCTYPE html>" header.  It looks like we are
> trying to conform to a standard that nobody cares about anymore.

We output quite compliant HTML4, though not fully compliant, more css
should be used to replace obsolete attributes for instance.

> Does anybody object if I go and change texi2any to output this instead of
> the HTML4 Transitional doctype?
> 
> As far as I remember the main difference is the use of the <tt> tag which
> has been removed from the standard, but I am sure there are other usages
> too.  It will have been discussed on this list before.

It is not the only change.  There are actually quite a bit of changes,
the validation as HTML5 with the new DOCTYPE is not very good.

-- 
Pat



reply via email to

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