- Introduction
- Understanding HTML
- Using the Reference Panel
- Using Code View
- Using Code Live View
- Setting Code View Options
- Entering HTML Code
- Using Code Hints
- Working with HTML Head Tags
- Inserting HTML Comments
- Using the Coding Toolbar
- Using Quick Tag Editor
- Using the Tag Inspector
- Using the Tag Chooser
- Opening Related Files
- Navigating to Related Code
- Setting Site Specific Code Hints
- Setting Code Hint Preferences
- Setting Code Format Preferences
- Setting Code Rewriting Preferences
- Setting Code Color Preferences
Setting Code View Options
You can select Code view options to change the way code appears in Code view. When you select the Code View Options command on the View menu or use individual buttons on the Code toolbar, you can set options to set word wrapping, display line numbers, hide characters, highlight invalid code, color code, indent code automatically, and display syntax error alerts in the Info bar.
Use Code View Options
- Open the Web page you want to view code.
- Switch to the Code view.
- Click the View menu, point to Code View Options, and then select from the following options:
-
Word Wrap. Forces the HTML code to wrap, based on the width of the Code view window.
-
Line Numbers. Displays line numbers to the left of the HTML code.
-
Hidden Characters. Displays hidden code elements, such as tabs and character returns.
-
Highlight Invalid Code. Highlights any code that Dreamweaver considers incorrect.
-
Syntax Coloring. Colorizes the HTML code, to visibly separate it from the text.
-
Auto Indent. Automatically indents the HTML code to aid in readability.
-
Syntax Error Alerts in Info Bar. Displays syntax code error alerts in the Info bar.
-