template

A piece of text with marked blanks, such as {name}, that a program fills in to produce a finished document.

In more detail

Keeping a web page template in its own file separates the design from the code: the program reads the file, calls format with the values, and prints or saves the result. The mad lib story is also a template.

Related terms

Taught in

References