Microsoft KB Archive/163606

= Changing Source Code Editor in Internet Explorer =

Article ID: 163606

Article Last Modified on 1/19/2007

-

APPLIES TO


 * Microsoft Internet Explorer 4.0 128-Bit Edition
 * Microsoft Internet Explorer 4.01 128-Bit Edition
 * Microsoft Internet Explorer 5.0
 * Microsoft Internet Explorer 5.01
 * Microsoft Internet Explorer 1.0
 * Microsoft Internet Explorer 2.0
 * Microsoft Internet Explorer 3.0
 * Microsoft Internet Explorer 3.01
 * Microsoft Internet Explorer 3.02
 * Microsoft Internet Explorer 4.0 128-Bit Edition
 * Microsoft Internet Explorer 4.01 128-Bit Edition
 * Microsoft Internet Explorer 5.0
 * Microsoft Internet Explorer 5.01
 * Microsoft Internet Explorer 5.5
 * Microsoft Internet Explorer 3.2
 * Microsoft Internet Explorer 4.0 128-Bit Edition
 * Microsoft Internet Explorer 2.0
 * Microsoft Internet Explorer 3.0
 * Microsoft Internet Explorer 3.01
 * Microsoft Internet Explorer 3.02
 * Microsoft Internet Explorer 4.0 128-Bit Edition
 * Microsoft Internet Explorer 4.01 128-Bit Edition
 * Microsoft Internet Explorer 5.0
 * Microsoft Internet Explorer 5.01
 * Microsoft Internet Explorer 5.5
 * Microsoft Windows 98 Standard Edition

-



This article was previously published under Q163606



SUMMARY
This article describes how to configure Internet Explorer to display an Edit button on the toolbar. This allows you to view Hypertext Markup Language (HTML) source code with the editor of your choice.



MORE INFORMATION
By default, you can use the Source command on the View menu in Internet Explorer to view HTML source code in Notepad. To add an Edit button to the toolbar so that you can view HTML code in the editor you want, follow these steps:  Quit Internet Explorer (if it is running). Double-click My Computer. On the View menu, click Options (or Folder Options). Click the File Types tab. In the Registered File Types box, click Internet Document (HTML), and then click Edit.

NOTE: If you are running Internet Explorer 4.01 or Windows 98, click Microsoft HTML Document 4.0. If you are running Internet Explorer 5.0, click Microsoft HTML Document 5.0. If Edit is not listed in the Actions box, there is not an Edit button on the Internet Explorer toolbar. To add an Edit button to the toolbar, click New, type Edit in the Action box, and then type the full path to the name of the editor that you want to use in the Application Used To Perform Action box. If you are using Internet Explorer 2.0 or 3.x as your browser, you may need to type a space and %1 at the end of the command. For example, if you want to use Notepad to be your default HTML editor, type the following command:

c:\windows\notepad.exe "%1"

NOTE: If you do not know the path or file name for the editor you want to use, you can click Browse to locate the editor instead of manually typing it in the Application Used To Perform Action box.

If Edit is listed in the Actions box, there is already an Edit button on The Internet Explorer toolbar. To select a default HTML editor, click Edit under Actions, click the Edit button, and then type the full path to the program you want to use as your default HTML editor. Click OK, click Close, and then click Close again.</ol>

Once you have completed these steps, Internet Explorer displays an Edit button on the toolbar and a Page (or Current Page) command on the Edit menu. Use either of these to view the source code for the current document. Also, after you have completed these steps, the Edit command is added to the context menu that appears when you right-click an HTML file.