About fixing 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 its invalid and how to fix it.
You can specify preferences in Dreamweaver for automatically rewriting various kinds of invalid code when you open a document.
- Automatic code modification in Dreamweaver
- Setting code rewriting preferences