Microsoft KB Archive/205693

= FP2000: How to Create a "Back" Button on a Web Page Using Custom HTML =

Article ID: 205693

Article Last Modified on 6/18/2005

-

APPLIES TO


 * Microsoft FrontPage 2000 Standard Edition

-



This article was previously published under Q205693



For a Microsoft FrontPage 98 version of this article, see 194157.

For a Microsoft FrontPage 97 and earlier version of this article, see 168391.



SUMMARY
This article provides sample HTML code that inserts a command button, or a hyperlink, on a Web page that will return you to the previous document when you click the link or button.



MORE INFORMATION
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. The following HTML code adds a command button to a Web page form:

HTML Code That Uses VBScript:






HTML Code That Uses JavaScript:






The following HTML code adds a hyperlink that retraces the Web browser's history:

the past

NOTE: Netscape Navigator versions 4.5 and earlier require all form elements to be contained within form tags. If you are certain your browsing audience will be using Internet Explorer, you may omit the form tags from the sample above.

Netscape Navigator 2.0 and Internet Explorer 3.0 and all more recent versions of those browsers support the onClick method of the button input type.

The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Additional query words: JavaScript Link History Back kbusage kbhowto kbprg kbcode fphtml fpscript front page

Keywords: kbinfo KB205693

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.