Menu Home

template

osbo.com | HTML | Elements | template

The template HTML element is used to declare fragments of HTML that can be cloned and inserted in the document by script.

Syntax

HTML

<template attribute-name="attribute-value"></template>

Attributes

Global

Examples

Web Hypertext Application Technology Working Group (WHATWG)