很多新手朋友对Dreamweaver软件的格式化功能不是太会用,那么Dreamweaver怎么格式化代码,DW代码怎么排版呢?

1、首先我们为了做示范,新建一个html文档,里面的内容可以随便写。

2、然后我们把里面的内容多写一点,格式弄的比较乱,为的就是看格式化代码的效果。

3、下面就是关键的步骤了,我们点击菜单栏中的“命令”,在其菜单中找到“应用源格式”选项并点击。

4、或者可以用快捷按钮,在Dreamweaver的左侧有一列快捷方式的图标,找到像油漆桶一样的图标,也是格式化代码的命名键。

5、格式化完成后我们会看到代码规范多了。

相关推荐:
Dreamweaver代码提示功能怎么开启?