Only comments and the end tag for the html element are allowed after the end tag for the body.
Browsers may perform error recovery, but you should never depend on that.
IE doesn't allow this anymore and will ignore such scripts. Firefox and Chrome still tolerate them, but there are chances that some day they will drop this as non-standard.
14
u/thebezet Mar 01 '16
Also, has anyone noticed the
<script>tag after the</body>tag?