+ 1

It is also a good practice to use the comment tag to "hide" scripts from browsers without support for client-side scripts

29th Apr 2020, 1:47 PM
Jay Patel
Jay Patel - avatar
2 Answers
+ 1
I think you are new ,post your views in your feed pls and follow this https://www.sololearn.com/Discuss/1316935/?ref=app
29th Apr 2020, 1:52 PM
Abhay - avatar
Do you mean something like: <script><!-- var foo = "bar"; // ... --></script> That's an old practice not more needed today in modern browsers (probably you even cannot find enough oldest browser wich need it) and even I guess that it could be problematic in some circumstances ^^
29th Apr 2020, 5:02 PM
visph - avatar