What are some advantages and disadvantages for embedding JavaScript in HTML or saving it externally? [closed]
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 3 years ago . I'm looking for simple bullet point answers please. I've tried looking all over, Googling, other questions here but I can never find both advantages and disadvantages for each method. 回答1: This is the answer I got from W3Schools pertaining to external javascript files Pros It