indexmenu icon indicating copy to clipboard operation
indexmenu copied to clipboard

w3c validator: Element script must not have attribute charset unless attribute src is also specified.

Open PPPCR opened this issue 10 years ago • 2 comments

Checking page source code on w3c validator against html5, following error is shown: Element script must not have attribute charset unless attribute src is also specified. for

<script type='text/javascript' charset='utf-8'>
<!--//--><![CDATA[//><!--

PPPCR avatar May 03 '15 15:05 PPPCR

Just remove charset='uft-8' to get this part valid. The charset attribute specifies the character encoding used in an external script file. Since you use no src, the charset is not needed. http://www.w3schools.com/tags/att_script_charset.asp

stefanscherzer avatar Feb 01 '17 21:02 stefanscherzer

All the inline JavaScript will be removed as part of #230.

Klap-in avatar Jul 10 '21 23:07 Klap-in

Implemented, thanks for reporting. Sorry for slow response for an obvious fix.

Klap-in avatar Dec 24 '23 13:12 Klap-in