Dreamweaver??™s
Code view and Code inspector, however, do render the code correctly.
Case Control options
The case of HTML tags is becoming more and more important. In XHTML, all tags and attribute names
must be in lowercase. If you??™re coding in regular HTML, case is only a personal preference among Web
designers. That said, some Webmasters consider case a serious preference and insist that their code be all
uppercase, all lowercase, or a combination of uppercase and lowercase. Dreamweaver gives you control over
the tags and attributes it creates, as well as over case conversion for files that Dreamweaver imports. The
Dreamweaver default for both tags and attributes is lowercase.
Lowercase tags and attributes are also less fattening, according to the W3C. Files with lowercase
tag names and attributes compress better and thus transmit faster.
You can also use Dreamweaver to standardize the letter case in tags of previously saved files. To alter
imported files, select the Override Case Of Tags and/or the Override Case Of Attributes options. When
enabled, these options enforce your choices made in the Case For Tags and Case For Attributes option
boxes in any file Dreamweaver loads. Again, be sure to save your file to keep the changes.
The TD Tag option ensures that there is no line break after the
tag in your document.
Pages:
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
|