Update article.md
This commit is contained in:
parent
83b40bc408
commit
c17491f29f
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ We can put styles and scripts into `<template>` as well:
|
||||||
</template>
|
</template>
|
||||||
```
|
```
|
||||||
|
|
||||||
The browser considers `<template>` content "out of the document", so the style is not applied, scripts are executed, `<video autoplay>` is not run, etc.
|
The browser considers `<template>` content "out of the document", so the style is not applied, scripts are not executed, `<video autoplay>` is not run, etc.
|
||||||
|
|
||||||
The content becomes live (the script executes) when we insert it.
|
The content becomes live (the script executes) when we insert it.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue