minor fixes
This commit is contained in:
parent
3efe4cf42a
commit
9dc5f3e949
1 changed files with 6 additions and 2 deletions
|
@ -133,6 +133,10 @@ Async scripts are great when we integrate an independent third-party script into
|
|||
<script async src="https://google-analytics.com/analytics.js"></script>
|
||||
```
|
||||
|
||||
```smart header="The `async` attribute is only for external scripts"
|
||||
Just like `defer`, the `async` attribute is ignored if the `<script>` tag has no `src`.
|
||||
```
|
||||
|
||||
## Dynamic scripts
|
||||
|
||||
There's one more important way of adding a script to the page.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue