We are using Dreamweaver 3 (abbreviation DW3) before undertaking the webpage is made, can undertake " the format changes HTML code " parameter setting, if control the size of mark of between-line spacing of retractive, setting, setting and attribute name to write,wait, when creating documentation thereby, maintain its source code pattern is concise and clear, also facilitate ego is safeguarded.
Use " the format changes HTML code " and " purify HTML code " characteristic, OK still be changed to having the HTML code of documentation to have a pattern and purify, implement unified HTML code form, delete useless code, repair code is wrong, optimize code, improve code quality.
1.HTML format changes parameter setting
Open " Edit " menu, choose " Prefernces " , open parameter to choose a dialog box, choose " HTML Format " , set relevant parameter.
Indent: Retractive means.
Use: The choice uses blank space or tabulation symbol (Tab) implementation is retractive.
Table Rows And Columns: Choice, meet automatic and retractive the Tr number that is used at founding form and Td mark.
Frames And Framesets: Choice, meet automatic and retractive the Frames number that is used at establishing frame and frame market and Framesets mark.
Indent Size: Unit " character " .
Tab Size: Unit " tabulation accord with " .
Automatic Wrapping: Choose automatic line feed and linage.
Line Breaks: Different operating system, select different kind.
Case For Tage: Choose way of big the ordinary form of a Chinese numeral, edit an operation to documentation window only effective.
Case For: Choose way of big the ordinary form of a Chinese numeral, operate to documentation window only effective.
Override Case Of: Complete pitch on, meet the setting above the basis, in all sorts of editors condition falls, be opposite compulsively the big the ordinary form of a Chinese numeral of the mark of all sorts of documentation or attribute undertakes rescripting.
Centering: The choice of two kinds of source code of means of be placed in the middle.
2. The format changes the HTML code of existing documentation
Change parameter setting through the format, besides " Override Case Of " beyond attribute, be opposite only normally the content of new input in building documentation or existing documentation is effective, to having documentation medium source code undertakes the format is changed, the operation is as follows:
Open existing documentation with DW3, open " Commands " menu, choose " Apply Source Formatting " command.
3.HTML rescripts parameter setting
Open " Edit " menu, choose " Prefernces " , open parameter to choose a dialog box, choose " HTML Rewriting " , set relevant parameter.
Fix Invalidly Nested And Unclosed Tags: Invalid nest mixes repair to did not close mark.
Remove Extra Closing Tags: Delete close redundantly mark.
Warn When Fixing Or Removing Tags: When repair or the warning is issued when deleting number.
Never Rewrite HTML:IN Files With Extensions: Never rescript the HTML documentation that contains the following and patulous name, corresponding patulous name can be inputted in text casing, separate with blank space.
Special: Two option are used at the setting to whether have code to certain and specific character.
4. Purify the HTML code of existing documentation
Purify the HTML code of existing documentation, can delete useless code, optimize source code. If have drills makes:
Open existing documentation with DW3, open " Commands " menu, choose " Clean Up HTML " command.
Empty Tags: Empty mark.
Redundant Nested Tags: Redundant nest labels.
Non - Dreamweaver HTML Comments: The annotate news that all blame Dreamweaver makes automatically.
Dreamweaver HTML Comments: Dreamweaver HTML annotate.
Specific Tag(s) : The mark that delete can miss in the input in text casing.
Combine Nested<font> Tags When Possible: To the nest <font> in documentation mark undertakes reset.
Show Log On Completion: Hint shows after finishing.
Additional, the HTML documentation that DW3 still can generate to Microsoft Word undertakes depurative, might as well oneself try.
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment