You can change the look of your code by specifying formatting preferences such as indentation, line length, and the case of tag and attribute names.
All the Code Format options, except the Override Case of option, are automatically applied only to new documents or additions to documents that you subsequently create.
To reformat existing HTML documents, open the document, and select Commands > Apply Source Formatting.