Re: type attributes for javascript and style

> I've noticed, that type attributes for javascript and style are causing
> warnings. Why? They are "unnecessary", but not forbidden.

That’s why a warning is thrown and not an error :)

The line is certainly a bit arbitrary (unneeded end tags, for example,
don’t result in like warnings) but the question is certainly
legitimate: Why use code that is unnecessary? A warning hence seems
justifiable. (Note that this is my own view, I don’t work on the
validator.)

-- 
Jens Oliver Meiert
https://meiert.com/en/

Received on Saturday, 9 December 2017 10:14:22 UTC