On Fri, Aug 05, 2016 at 10:33:41AM -0400, Robert Weiner wrote: > Just a small thing. > > As of Texinfo 6.1, HTML output is generating anchors like so: > > <a name="Smart-Keys"></a> > > The non-obsolete way of doing that now, compatible with HTML5 and prior > versions is: > > <a id="Smart-Keys"></a>
Using id instad of name leads to validation errors with the 4.01 doctype: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> That's because in this dtd, id type is ID which is too restrictive, while in html5 it is much less restricted. It is possible to abandon strict validity, I guess that most if not all browser are ok with id with less restrictive content, but having something valid is also very convenient to debug the html. -- Pat
