Bugzilla – Bug 1030
html5.validator.nu can maybe warn for definitely wrong lowercase/uppercase outside (X)HTML5
Last modified: 2016-10-23 15:08:27 CEST
Problem description: Definitely wrong lowercase/uppercase is not reported. 1. I think doctype in <!doctype HTML> is not the usual lowercase html; it is like a reserved word. Previous bugreport 404 suggests to lowercase DOCTYPE. I read lowercase was destabilising somewhere. 2. I think HTML in <!doctype HTML> is incorrectly in uppercase. 3. The characterset utf-8 definitely is named UTF-8. ------------------------------ Example to achieve three warnings: <!doctype HTML> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>no title</title> </head> <body>some text</body> </html> ---------------------------- I use this code for compatibility: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>no title</title> </head> <body>some text</body> </html>