HTML Formatting Options dialog box

This dialog box controls how Namo WebEditor reformats HTML source code in your documents. These settings have no effect if you have deselected the Reformat HTML code option in the Save tab of the Preferences dialog box.

Wrap lines at

Lines of code that exceed the specified number of characters will be split up into two or more lines so that no line exceeds the specified number of characters.

Indent

Nested elements, such as <tr> in <table> and <li> in <ul>, will be indented the specified number of spaces or tabs.

Allow line breaks inside tags

If this option and automatic line wrapping (Wrap lines at) are both selected, long lines of code can be broken inside opening tags when doing so would not affect the functionality of the tag. For example, the following code:

<span class=”emphasis”>some text</span>

might be wrapped at the space before the class attribute, as follows:

<span
class=”emphasis”>some text</span>

If this option is deselected, long lines will only be automatically wrapped inside the content of an element, never inside its opening tag.

Capitalize tag names

Tags generated by Namo WebEditor (but not those you insert yourself in source code) will be written in uppercase.

Capitalize tag attribute names

Attributes generated by Namo WebEditor (but not those you insert yourself in source code) will be written in uppercase.

Related topics

Preferences dialog box – Save tab

HTML Formatting Options dialog box