-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script element section #26
Comments
Excellent points. Will add. Thanks @fvsch! |
Don't forget about the new |
@garycourt Do you have a link to the W3 specification of |
It's apart of the Living HTML Standard: https://html.spec.whatwg.org/multipage/scripting.html#attr-script-type Currently, no browsers support it. But that will change quickly in the next 6 months. |
If you change the |
Note: Add |
any updates on this? I came here as I saw it should be there, if need be drawbacks can be included as well |
It's probably worth expanding on the script element.
At the very least I'd mention that
<script src="..."></script>
blocks content rendering while the script loads and executes, and add a non-blocking example with<script async src="..."></script>
.The scope of this project is not to explain every feature of each element that can go in
<head>
, but for important features it's probably a good idea to mention best practices.The text was updated successfully, but these errors were encountered: