Using Editable Tag Attributes

An editable region lets you—or, more likely, page-author jockeys—change areas of HTML, like a paragraph, image, or an entire table, on new pages they create from your template. However, when you create a template for others to use, you may want to limit the page authors’ editing abilities. For example, you may want to allow budding web designers to change the source of the image used in a banner ad without letting them change the width, height, and class applied to the image. Or you might want to use templates but still let others assign a class to the <body> tag—a move normally forbidden on template-based pages. You can use Dreamweaver’s Editable Tag Attribute to specify which tag properties your successors can change.

Get Dreamweaver CS6: The Missing Manual 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.