You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 8-web-components/4-template-element/article.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
A built-in `<template>` element serves as a storage for markup. The browser ignores it contents, only checks for syntax validity, but we can access and use it in JavaScript, to create other elements.
5
5
6
-
In theory, we could to create any invisible element somewhere in HTML for markup storage purposes. What's special about `<template>`?
6
+
In theory, we could create any invisible element somewhere in HTML for markup storage purposes. What's special about `<template>`?
7
7
8
8
First, its content can be any valid HTML, even if it normally requires a proper enclosing tag.
0 commit comments