Bottom of file scripting

approg
approg Community Member Posts: 250 ♪ 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: 250 ♪ 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.
Sign In or Register to comment.

So You Wanna Be An eLearning ROCKSTAR?

We're all fans of eLearning here! Want to become an eLearning ROCKSTAR? Just click on one of the buttons below to start your rocking journey!