A template could just be an (X)HTML page with associated CSS and images, it doesn't have to be specific to an application.
Having said that there are lots of Web apps that require specially formatted templates, normally a mix of (X)HTML, CSS and a server-side language. There are even templating systems designed to do exactly this (e.g. Smarty for PHP).
__________________
homo sum: humani nil a me alienum puto ... ( just Google it )
|