These settings allow you to set preferences for how the HTML editor works when you paste elements into the page and when you first open a file.
To access this dialog box
-
In Microsoft Visual Web Developer, click Tools, and then click Options.
The Options dialog box opens.
-
In the left panel, expand the Text Editor node, expand the HTML node, and click Miscellaneous.
If you have configured your environment settings for Web development, this node is not available unless you select the Show all settings check box. For more information about environment settings, see How to: Change Select Settings.
Note |
|---|
| Additional HTML options can be found under the HTML Designer node, which is visible if the Show all settings check box is selected. |
For more information about formatting HTML, see Formatting Elements in the HTML Editor in Visual Web Developer.
Tasks
UI Elements
Miscellaneous HTML options
- Auto ID elements on paste in Source view
-
When this check box is selected, the editor assigns a unique ID to each element as you paste it into the page by adding a sequential number to the existing ID.
If you disable this option, elements are pasted in with their existing IDs (if any). If required, you must manually change the element IDs to avoid multiple identical IDs on the page.
- Format HTML on paste
-
When this check box is selected, the editor reformats elements when you paste them into the page, using the currently defined formatting rules. If this check box is not selected, the editor pastes the elements in using the exact formatting of the original element.
See Also
Reference
General, HTML, Text Editor, Options Dialog BoxTabs, HTML, Text Editor, Options Dialog BoxFormat, HTML, Text Editor, Options Dialog BoxValidation, HTML, Text Editor, Options Dialog BoxDisplay, HTML Designer, Options Dialog BoxGeneral, HTML Designer, Options Dialog Box