How to format code in Dreamweaver

Source: Internet
Author: User

Dreamweaver itself has the automatic sorting function!

First, set the format in "code format" in [edit] | [first parameter:

 

Line 1: Select. You can use the tab or space key to fill the indentation.
Row 2: the blank space occupied by the tab key. This is only affected by Dreamweaver. No matter how many tabs You set, a tab key or a tab key in the file.
Row 3: whether to wrap automatically. No.
Row 4: Line Break Type (Windows)
Rows 5, 6, and 7: Label case.
Row 8: no line feed after TD. not checked.
Row 9: center mode.

After setting, click OK and go to the menu: [command] | [application source format] ----- check the source code, which is already in full compliance!

Haha. It's easy.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.