Learn how to change the default HTML formatting in Dreamweaver.
To change general code formatting preferences, use the Code Format section in the Preferences dialog box. To change the format of specific tags and attributes, use the Tag Library Editor (Edit > Tag Libraries).
You can also edit the formatting for a tag by editing the VTM file that corresponds to the tag. This file is available in a subfolder of the Tag Libraries configuration folder. It is easier to change formatting within Dreamweaver.
If you add or remove a VTM file, you must edit the TagLibraries.vtm file. Dreamweaver ignores any VTM file that is not listed in TagLibraries.vtm.
You can edit the TagLibraries.vtm file in a text editor, not in Dreamweaver.