Chapter 8
Using Templates
In this Chapter
Maintaining consistency by using templates
Saving time and money with templates
Understanding the benefits of premade third-party templates
Using Dreamweaver templates
Working with server-side templates
If you've been using a computer for more than ten minutes, you know what a template is, right? Microsoft Word, for example, comes with templates for creating everything from casual letters to legal briefs. Typically, a template is an empty document shell with a set of premade styles, or style sheets, that specify formatting of the content.
Although XHTML templates are similar in concept, they differ greatly in practice. For example, unlike your typical Word template (which you open, add content to, and then save as a document file), XHTML templates — especially those formatted with CSS — often consist of several different files. It's not uncommon, for instance, for one web page to reference two or more CSS files. Web pages can also rely on ...
Get HTML, CSS, and JavaScript® Mobile Development For Dummies® now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.