News for hackers. Stuff that matters.
Re:Ben the Bodyguard: Gorgeous HTML5 Website by zerohp on Thursday December 02, 2010 @03:40PM (#1963566)
In the bad old days of early web development, browsers that didn't understand the script tag would display your code in the document. They allowed html comments inside the script tag as a workaround for it. We always had to write <script><!-- //--></script>

http://javascript.crockford.com/script.html

Re:Ben the Bodyguard: Gorgeous HTML5 Website by sjs on Saturday December 04, 2010 @02:19PM (#1969906)
Ah, I had seen that written with //<!-- to open the comment and always wondered why people would settle for old browsers displaying // in the script tag, looks like it wasn't required and was just bad code written by people who didn't know what they were doing. So it goes. :)