Microsoft KB Archive/182925

= PUB97: Adding Custom HTML to Your Web Site =

Article ID: 182925

Article Last Modified on 11/7/2002

-

APPLIES TO


 * Microsoft Publisher 97 Standard Edition

-



This article was previously published under Q182925



SUMMARY
Microsoft Publisher 97 does not provide an interface that allows you to add custom HyperText Markup Language (HTML) components (such as Web counters, feedback forms, and JavaScript), to a Web site created in Publisher. Publisher does not support inserting HTML code fragments. This article describes how you can add HTML code to your Publisher created Web site.

NOTE: Microsoft Publisher 98 has a feature that allows you to insert HTML code fragments into your Web site publication.



MORE INFORMATION
WARNING: The information in this article has not been confirmed or tested by Microsoft. Some or all of the information in this article has been taken from unconfirmed customer reports. ANY USE BY YOU OF THE INFORMATION PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this information "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

NOTE: The steps outlined in this article are not supported my Microsoft Technical Support.

To add custom HTML to a Web site created in Publisher 97, publish your Web site and then edit the Index.html file and add the HTML code you want. To do this, follow these steps:

 Publish the Web site by following these steps:  On the File menu, click Publish Website To Folder. Select the folder you want to use for your content and click OK. Publisher will export your Web site to that folder.  Edit the Index.html file and add the custom HTML code by following these steps.

NOTE: You will not be able to edit this file in Publisher. Your original publication will not reflect these changes.  On the Windows Start menu, point to Programs and then click Windows Explorer.  Select the folder that contains your Web site. For example, select the following folder <pre class="fixed_text">         C:\Program Files\Common Files\Microsoft Publisher\Publish </li> Select the Index.html file.</li></ol> </li> Hold down the SHIFT key and right-click the Index.html file. Click Open With on the menu that appears. From the list of programs, click NotePad and then click OK.</li> Type the custom script you want to use. When you are finished, click Save on the File menu.</li></ol>

You can preview the HTML page by opening the file in your Web browser.

<div class="references_section">