beautypg.com

Chapter 10: coding, General information about coding in dreamweaver, Supported languages – Adobe Dreamweaver CC 2015 User Manual

Page 364: Invalid markup, Automatic code modification

background image

357

Last updated 6/3/2015

Chapter 10: Coding

General information about coding in Dreamweaver

Note: The user interface has been simplified in Dreamweaver CC and later. As a result, you may not find some of the
options described in this article in Dreamweaver CC and later. For more information, see

this article

.

Supported languages

In addition to text-editing capabilities, Adobe Dreamweaver provides various features, such as code hints, to help you
code in the following languages:

• HTML

• XHTML

• CSS

• JavaScript

• ColdFusion Markup Language (CFML)

• VBScript (for ASP)

• C# and Visual Basic (for ASP.NET)

• JSP

• PHP

Other languages, such as Perl, are not supported by the language-specific coding features in Dreamweaver; for example,
you can create and edit Perl files, but code hints don’t apply to that language.

Invalid markup

If your document contains invalid code, Dreamweaver displays that code in Design view and optionally highlights it in
Code view. If you select the code in either view, the Property inspector displays information about why it’s invalid and
how to fix it.

Note: The option to highlight invalid code in Code view is turned off by default. To turn it on, switch to Code View (View
> Code) and then select View > Code View Options > Highlight Invalid Code.

You can also specify preferences for automatically rewriting various kinds of invalid code when you open a document.

Automatic code modification

You can set options that instruct Dreamweaver to automatically clean up your hand-written code according to criteria
that you specify. However, your code is never rewritten unless the code rewriting options are enabled or you perform
an action that changes the code. For example, Dreamweaver does not alter your white space or change the case of
attributes unless you use the Apply Source Formatting command.

A few of these code rewriting options are enabled by default.