Page 1 of 1

HTML5 validation

Posted: Sat 30. Dec 2017, 22:49
by Chaffinch<
I would like get rid of, a minor mistake in HTML5 validation.
In the configuration file, I have:
$phpwcms['mode_XHTML'] = 3; // Doctype: 1 = XHTML 1.0 Transitional, 0 = HTML 4.01 Transitional, 2 = XHTML 1.0 Strict, 3 = HTML5

But on the site: https://html5.validator.nu, I get one error:
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
Error: A meta element with an http-equiv attribute whose value is X-UA-Compatible must have a content attribute with the value IE=edge.

From line 10, column 3; to line 10, column 64

Where can I make a correction?

http://krynica.malopolska.pl/HTML5_validation.png
Regards
Bogdan

Re: HTML5 validation

Posted: Sun 31. Dec 2017, 04:20
by Chaffinch<
OK in line

Code: Select all

$phpwcms['X-UA-Compatible']     = 'IE=Edge,chrome=1';
I changed to

Code: Select all

$phpwcms['X-UA-Compatible']     = 'IE=Edge';
it's ok

Re: HTML5 validation

Posted: Sun 31. Dec 2017, 07:45
by Oliver Georgi
It was your older config settings. I have updated default values to $phpwcms['X-UA-Compatible'] = '';. There is no need any longer for this meta tag having IE11+. See https://github.com/slackero/phpwcms/com ... 42ca122eec

Re: HTML5 validation

Posted: Sun 31. Dec 2017, 11:58
by Chaffinch<
Thank you very much :-)) I corrected.
Best Regards
Bogdan