The Old New Thing

Why can't you say </script> in a script block?

Because it ends the script block, of course. Duh, what's so hard about that? Because if you have script that generates script, you'll find yourself caught out if you're not careful. For example, you can't say in a script block because the HTML parser will see the </SCRIPT> and conclude that your script block is over. In other ...
Comments are closed.0 0
Code

Feedback usabilla icon