Link to home
Start Free TrialLog in
Avatar of purplesoup
purplesoupFlag for United Kingdom of Great Britain and Northern Ireland

asked on

C# script gets Validation (HTML5): Attribute 'language' is not a valid attribute of element 'script'

I'm editing an aspx page and the compiler is flagging up an information message

Validation (HTML5): Attribute 'language' is not a valid attribute of element 'script'.

but the script is for C#. I've tried googling this but the results all show how to fix it for JavaScript.

Any ideas on how to remove this validation message for C#?

<script language="C#" runat="server">
ASKER CERTIFIED SOLUTION
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of purplesoup

ASKER

Excellent - worked perfectly, thanks.
Not a problem, glad I was able to help.