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.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access