[最佳答案] In the browser JSP will be converted to/interpreted as HTML, so the best practices are the same for both JSP and HTML, saying that: Many web developers recommend loading JavaScript code at the bottom of the page to increase responsiveness, and this is even more important with the HTML service. In the NATIVE sandbox mode, all scripts you load are scanned and sanitized client-side, which may take a couple of seconds. Moving your tags to the end of your page will let HTML content render before the