Dreamweaver accommodates many different types of markup languages, not just HTML, through the Never
Rewrite Code In Files With Extensions option. Moreover, you can prevent Dreamweaver from encoding special
characters such as spaces, tildes, and ampersands in URLs or attribute values. Dreamweaver is now extremely
flexible. The following sections describe each of the options available through the Code Rewriting category.
Fix Invalidly Nested And Unclosed Tags option
When enabled, this option repairs incorrectly placed tags. For example, if a file contains the following line:
Welcome to the Monkey House!
Dreamweaver rewrites it as follows:
Welcome to the Monkey House!
Open that same file with this option turned off, and Dreamweaver highlights the misplaced code in the
Document window. Double-clicking the code brings up a window with a brief explanation.
106
Laying the Groundwork in Dreamweaver CS3 Part I
FIGURE 4-17
The Code Rewriting category can be used to protect nonstandard HTML from being automatically changed by
Dreamweaver.
Rename Form Items When Pasting option
In general, static Web pages require each form element to be uniquely named; with this option selected, you
can quickly insert a series of text fields with similar attributes and be assured that they are individually
named.
Pages:
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294