javascript - Why can you only use defer when src is specified? -


When & lt; Script & gt; tag, after verification, I get the following warning on the verifier: W3.org

The attribute script should not be suspended in the attribute unless the attribute circuit is also specified Happen.

I do not understand the need for it, to explain it to someone?

The issue of adjournment is that "you will be parsing the html parsing script".

If the script is correct in HTML, then you can not (because the script is in the source code) and it will be in vain (because any external dependencies that will stop parsing).

Comments