Skip to content

Commit 2890176

Browse files
inizio
1 parent 5f3362b commit 2890176

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

8-web-components/4-template-element/article.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

2-
# Template element
2+
# Elemento Template
33

4-
A built-in `<template>` element serves as a storage for HTML markup templates. The browser ignores it contents, only checks for syntax validity, but we can access and use it in JavaScript, to create other elements.
4+
Un elemento `<template>` built-in funziona come uno storage per i templates del markup HTML. Il browser ne ignora il contenuto, controllando solamente la validità della sintassi, ma possiamo accedervi ed usarli via JavaScript, per creare altri elementi.
55

6-
In theory, we could create any invisible element somewhere in HTML for HTML markup storage purposes. What's special about `<template>`?
6+
In teoria, possiamo creare qualunque elemento invisibile in qualunque punto dell'HTML, allo scopo di salvare del markup HTML. Cosa possiamo dire su `<template>`?
77

88
First, its content can be any valid HTML, even if it normally requires a proper enclosing tag.
99

0 commit comments

Comments
 (0)