Click here to Skip to main content
15,889,808 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Why script element with sync attribute does not block browser render? I would like to know the reason behind this. I am using chrome browser

What I have tried:

Looking google for find the problem , but unfortunately I can't able to find this.
Posted
Updated 5-Jan-21 6:40am

There is no sync attribute. There is an async attribute.

Search[^]
 
Share this answer
 
v3
There is no sync attribute on the HTML script tag.

It doesn't work because the invalid attribute, "sync", is being ignored and the script tag executes as it normally would.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900