Indenting code blocks

Indenting code blocks

As you write and edit code in Code view or the Code inspector, you can change the indentation level of a selected block or line of code, shifting it right or left by one tab.

To indent the selected block of code, do one of the following:

  • Press Tab.
  • Select Edit > Indent Code.

To unindent the selected block of code, do one of the following:

  • Press Shift+Tab.
  • Select Edit > Outdent Code.

Related topics

  • Making quick changes to a code selection
  • Setting the code format preference options


Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Working with Page Code
Setting Up Your Coding Environment
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly