Jump to content

Just a general question


RooZ

Recommended Posts

I've been designing web sites for years, but I've never worked out why after <script> tags some people add <!-- and before </script> they add //-->

I always thought of it as just compatibility with old browsers, because you don't see it as much these days, but still, I'm wondering what the actual use for it is.

Link to comment
https://forums.phpfreaks.com/topic/81786-just-a-general-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.