javascript - script tag async attribute
伊谢尔伦
伊谢尔伦 2017-07-05 10:45:09
0
2
869

According to the picture, when the attribute is async, the loading of the document is suspended when the script is executed, but many texts explain that the downloading and execution of the script and the loading of the document are executed in parallel. Is there a difference between the two? ? ? Does document loading pause when the script is executed? ? ?

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(2)
Peter_Zhu

阿神

Clearly, when a script that does not set the async attribute is executed, it will block the browser from rendering the page
On the contrary, the (loading and) execution of the async script does not affect the rendering of the page

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template