Merge pull request #1207 from kjhughes/patch-3

Update article.md
This commit is contained in:
Ilya Kantor 2019-08-03 08:55:31 +03:00 committed by GitHub
commit ccfd721a23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,7 +110,7 @@ To summarize:
The `<template>` tag is quite unique, because:
- The browser checks HTML syntax inside it (as opposed to using a template string inside a script).
- ...But still allows to use any top-level HTML tags, even those that don't make sense without proper wrappers (e.g. `<tr>`).
- ...But still allows use of any top-level HTML tags, even those that don't make sense without proper wrappers (e.g. `<tr>`).
- The content becomes interactive: scripts run, `<video autoplay>` plays etc, when inserted into the document.
The `<template>` element does not feature any iteration mechanisms, data binding or variable substitutions, but we can implement those on top of it.