ZenphotoCMS Forum
Html checker - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Html checker (/thread-13352.html)



Html checker - ctdlg - 2019-12-14

Hello,

This concerns your next upadate, and is a suggestion :
could you please remove the type attribute of javascript resources in many files.
When checking w3c validator, here is a sample of errors we get :

The type attribute is unnecessary for JavaScript resources.
From line 8, column 4; to line 8, column 73
script type="text/javascript" src="/multimedia/zp-core/js/jquery.js">




Html checker - acrylian - 2019-12-14

Yes, it is not necessary for HTML5 environments anymore. But it is also not an an error but a warning. Can't promise we will do this for 1.5.x anymore but we have this on the long list.

Edit: I guess I can remove all these and the cddata wrappers that is not necessary for HTMl5 and modern browsers right with it.