{{#template name="basicTemplates"}}

Templates

In Meteor, views are defined in _templates_. A template is a snippet of HTML that can include dynamic data. You can also interact with your templates from JavaScript code to insert data and listen to events.

Defining Templates in HTML

Templates are defined in `.html` files that can be located anywhere in your Meteor project folder except the `server`, `public`, and `private` directories. Each `.html` file can contain any number of the following top-level elements: ``, ``, or `