Html checker

ctdlg Member
edited December 2019 in General support

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"></script

Warning: The type attribute is unnecessary for JavaScript resources.
From line 10, column 3; to line 10, column 127
script type="text/javascript" src="/zp-core/zp-extensions/colorbox_js/jquery.colorbox-min.js"></script

Warning: The type attribute is unnecessary for JavaScript resources.
From line 45, column 5; to line 45, column 126
script src="/zp-core/zp-extensions/slideshow2/jquery.cycle2.min.js" type="text/javascript"></script

Warning: The type attribute is unnecessary for JavaScript resources.
From line 46, column 3; to line 46, column 131
script src="/zp-core/zp-extensions/slideshow2/jquery.cycle2.center.min.js" type="text/javascript"></script

Warning: The type attribute is unnecessary for JavaScript resources.
From line 57, column 3; to line 57, column 133
script src="/zp-core/zp-extensions/slideshow2/jquery.cycle2.carousel.min.js" type="text/javascript"></script

Warning: The type attribute is unnecessary for JavaScript resources.
From line 60, column 6; to line 60, column 133
script src="/zp-core/zp-extensions/slideshow2/jquery.cycle2.swipe.min.js" type="text/javascript"></script

Warning: The type attribute is unnecessary for JavaScript resources.
From line 61, column 4; to line 61, column 115
script src="/zp-core/zp-extensions/slideshow2/ios6fix.js" type="text/javascript"></script

Comments

  • acrylian Administrator, Developer
    edited December 2019

    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.

Sign In or Register to comment.