你的是pycharm吧,可以设置一下代码提示功能,参考https://blog.csdn.net/weixin_30994671/article/details/117947738
<script> </script> 是代表里里面是js 脚本, 不会显示在浏览器页面的。