Update article.md

This commit is contained in:
Denis Popov 2019-05-08 10:00:28 +03:00 committed by GitHub
parent 83b40bc408
commit c17491f29f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.