1. Usually wrapped by head tag 2. Tag semantics: 123 <script> alert('Hello World!');</script> you can also use an external JS file to store your JS codes: 1 <script src=url></script> 3. Sentences are ended by ‘;’ 4. Comment Usage: 1234 /*This is a comment!*///This is also a comment! 赞微海报分享
近期评论