# Template Literal

*noun*

say it: **“TEM-plit LIT-er-ul”** **/ˈtɛmplɪt ˈlɪtərəl/**

A JavaScript string in backticks that can hold ${...} values and span several lines.

## What is **Template Literal** in JavaScript?

**Template Literal** — A string enclosed by backticks that supports interpolation and multiple lines.

```javascript
const item = "tea";
const message = `Order: ${item}`;
```

## In a sentence

- “The **template literal** \`Total: ${total}\` builds the message in one piece.”

Level: Novice · [More JavaScript terms at this level](https://www.ask-codey.com/glossary?category=javascript&level=1)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/template-literal
