Bottom of file scripting

approg
approg Community Member Posts: 258 ♪ Opening Act ♪
I've added a script element to  my title using a HTML Extension of type "bottom of file scripting and when I publish the file I get

</body>
</html>
<script type="text/javascript" src="myfile.js"></script>

That is beyond the bottom of the file. I believe it must instead be

<script type="text/javascript" src="myfile.js"></script>
</body>
</html>

Comments

  • klaatu
    klaatu Community Member Posts: 988
    No, that literally IS the bottom of the file, it's just not what it should be. ;-)

     
  • approg
    approg Community Member Posts: 258 ♪ Opening Act ♪
    Point taken though for me the end of a HTML file is the closing HTML tag.

    I'm also wondering how long it will be before browser vendors stop supporting invalid markup.