Is there any need to correct this and if so how should it be done properly.This document appears to be written in English. Consider adding lang="en" (or variant) to the html start tag.
validator.w3.org lang en error
-
14Steve14
- Senior Contributor
- Posts: 922
- Joined: Fri Oct 25, 2019 7:01 pm
- Phoenix Version: v1.0.9.1
- Has thanked: 17 times
- Been thanked: 103 times
validator.w3.org lang en error
Nothing important, and nothing serious but I have just checked my site on the W3C validator Of the three warning/errors that it listed for the home page the first was
Tags:
-
Fiber
- Contributor
- Posts: 173
- Joined: Mon Oct 26, 2020 12:16 pm
- Phoenix Version: v1.1.0.6
- Has thanked: 17 times
- Been thanked: 27 times
Re: validator.w3.org lang en error
I don't know if it's really necessary, but I do hate errors :-)Is there any need to correct this and if so how should it be done properly.
In english.php see here
I have in my dutch.php this
Code: Select all
const HTML_PARAMS = 'dir="ltr" lang="nl"';Turn up the Max
-
14Steve14
- Senior Contributor
- Posts: 922
- Joined: Fri Oct 25, 2019 7:01 pm
- Phoenix Version: v1.0.9.1
- Has thanked: 17 times
- Been thanked: 103 times
Re: validator.w3.org lang en error
Many thanks. That seems to have worked. One more warning gone. I have also got rid of a few of the errors that there also there so its looking good.