HTML parse order / script execution order

前端 未结 3 1743
余生分开走
余生分开走 2021-01-05 08:12

the following lines are from the official jQuery website



        
3条回答
  •  走了就别回头了
    2021-01-05 08:33

    Yes it will wait with parsing any html until the script is loaded and parsed. This is one reason why you should load externa scripts at the end of your page so script will not blocking the html rendering.

提交回复
热议问题