Chapter 9. Under the Hood: HTML

While Dreamweaver started life primarily as a visual Web page editor, each new version has brought enhancements to its text-editing features. Dreamweaver 8 continues that trend, by adding several new and powerful code-editing tools that let you work on your pages’ HTML, CSS, and JavaScript code directly. In fact, in recognition of the ever-multiplying types of files used on the Web, Dreamweaver lets you edit all text-based files, including XML, Java, ActionScript, and just plain text files. The code editor includes professional features like customizable syntax highlighting, auto indenting, line numbering, and code hints; tantalizing new features like code collapse, so you can concentrate on just the code you want; and the Code view toolbar, which provides one-click access to frequent hand-coding tasks. Now, Dreamweaver may be the only Web page creation program even hard-core code junkies ever need.

Roundtrip HTML

Unlike many other visual HTML editors, Dreamweaver has always graciously accepted HTML written by hand (and even by other programs). In fact, Dreamweaver has always made it easy to jump between itself and text-editing programs like the much loved, but retired, HomeSite (for Windows) and BBEdit (for the Mac).

This ability, which Macromedia calls Roundtrip HTML, lets Web developers write code the way they want, without worrying that Dreamweaver will change it. For example, suppose you have a particular way of formatting your handwritten code. ...

Get Dreamweaver 8: 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.