The <template> element

Contains a piece of HTML markup that will be parsed by the browser, but not become part of the DOM. It can be copied and altered by JavaScript code and then the copies added to the DOM, for example to create templated rows of a table whose data is filled in by JavaScript.

Full list of attributes

All the usual HTML global attributes are available

Further information

The Web Design Academy Contact us

By form

By Phone

+44 (0)113 234 4611

By email

enquiries@thewebdesign.academy

By snail mail

Suite 3 15 South Parade Leeds LS1 5PQ United Kingdom