哪吒机器人提醒:

提醒:The Strange Zen Of JavaScript
【标题】Why must we still close SCRIPT elements?
【摘要】i was wondering why in the world we still have to terminate script elements with tags in 2011, fer pete's sake.i.e. why does this work:but this:does not?for years i thought it was just a bad implementation from the ns4 days that nobody bothered to correct. not so! turns out there's a valid (if a bit irritating) reason.the tl;dr answer is: is valid xml, but invalid html.if you serve your html pages as text/html, a b... (04-08 13:31)