
183
IN THIS CHAPTER
Laying the code foundation
Working with the <head>
section
Developing the <body> section
Exploring Code view
Working with Live view and
Live Code view
Using Related Files
Accessing the Code Navigator
Consolidating code with the
JavaScript Extractor
Dreamweaver Technique:
Collapsing and Moving Code
Adding special characters
A
s far as most designers are concerned, in a perfect world, you
could lay out a complex Web site with a visual authoring tool and
never have to see the HTML and other code, much less modify it.
Dreamweaver takes you a long way toward this goal—in fact, you can cre-
ate many types of Web pages using only Dreamweaver’s Design view. As
your pages become more complex, however, you may need to tweak your
code in one way or another.
Programmers, on the other hand, are happiest working directly with the
code. To accomplish their goals efficiently, coders need a responsive, flex-
ible editor capable of handling a wide range of computer languages. Just
how much assistance is required is a matter of personal taste: Some code
writers want all the help they can get, with features such as syntax color-
ing, code completion, and Code Hints, among others. Other programmers
just want the editor to stay out of their way.
Dreamweaver tries to give coders the best of both worlds by providing a
full-featured editor with numerous options. In addition to the features men-
tioned ...