Re: [www-validator] <none>

On 25 Aug 2017, at 23:34, Eric Richards wrote:

> Ok here is a error that comes up in JavaScript
>
> if you had "and" in  a "if" statement like  example
>
> if (navigator.family == "ie4" *&* navigator.version < 4.1)

You are using XHTML, but are presumably serving it with a text/html 
content-type (so the browser isn’t treating it as XHTML).

See:

* https://www.w3.org/TR/xhtml1/#h-4.8
* https://www.w3.org/TR/xhtml-media-types/#C_4

Received on Friday, 25 August 2017 22:37:20 UTC