Table centered by <center> |
This file contains <center;> ... </center;>
The 'experimental' Nu Markup Checker flags this as an HTML5 ERROR with the string "Error: The center element is obsolete. Use CSS instead."
If 'clean' at present tidy 'silently' replaces this with a <div class="c1">, and add the CSS in TY_(CleanDocument)(doc), ...
Q: Should this behaviour be modified?
A: There are various possibilities
Also perhaps Tidy5 needs another configuration parameter as suggested by the validator.w3.org, namely "HTML4-specific tokenization errors are enabled." That is being able to clearly inform tidy that is the document is to be taken as HTML5, then certain tags are to be an error.