The information in this article applies to:
SUMMARYThis article explains how to include the last update time, the name of the Web page, and other similar items in HTML files on the World Wide Web. You can automatically include these items through keyword expansion when you use Visual SourceSafe. You can also enter other items as regular comments so that they only appear in the source of the HTML document. MORE INFORMATIONSetting up keyword expansion for HTML files is slightly different than using keywords in regular source code files like those used in Visual C++ and Visual Basic. Enable Keywords for Web Documents
Add Keywords to HTML FilesTo add a keyword for external viewing, use the following syntax:
for example:
The following prints out on the Web page when the .htm file is opened with
a Web browser:
To add a keyword for internal documentation, use the following syntax:
This command acts like a "regular" keyword in that the expansion is only
visible when you view the .htm file in a text editor.
Note that any keyword that you want to display externally in HTML documents must be preceded by $$. : REFERENCES
Microsoft Visual SourceSafe Help: HTML Keyword Expansion http://msdn.microsoft.com/workshop/default.asp(c) Microsoft Corporation 1996, All Rights Reserved. Contributions by Brian Matsik, Microsoft Corporation. Additional query words:
Keywords : kbSSafe500 kbSSafe600 |
Last Reviewed: August 5, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |