It is also a good practice to use the comment tag to "hide" scripts from browsers without support for client-side scripts | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 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 Antworten
+ 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
Abhay - avatar
0
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
visph - avatar