|
To access the contents, click the chapter and section titles.
Platinum Edition Using HTML 4, XML, and Java 1.2
Using the Comment ComponentThe Comment Component enables you to add comments to your WYSIWYG page on the FrontPage Editors Normal tab. The comment will appear in purple text and will be preceded by the word Comment. Comments are remarks intended for authors and editors working on the document. They are not meant for consumption by the end user, so youll never see a comment on the Preview tab. To insert a Comment Component on a page, follow these instructions:
After you click OK, youll see your comment appear on the Normal tab of the FrontPage Editor. As previously noted, the comment should be painted purple and be preceded with the word Comment. If you switch over to the HTML tab, youll see something like the following: <P><!--webbot bot=PurpleText preview= This document created on 29 Sept 98 using Microsoft FrontPage. --></P> When interpreted by the server, this code will invoke the PurpleText bot on the server and render the content stored under the preview parameter as a comment.
If you ever want to edit a comment, move your mouse pointer to it. When you do, youll see the pointer cursor change to include a robot character, which means youre pointing at a FrontPage Component. Double-click the comment to open up the Comment dialog box you saw in Figure 10.6 and make the changes to your comment there. Using the Insert HTML ComponentHTML is changing all the time. New tags are proposedand often implementedat an alarming rate. No Web authoring program can keep releasing new versions to keep up with all the new tags, so most of them come with some means of inserting an unsupported HTML tag into a documents HTML code. In the case of the FrontPage Editor, this task is handled by the Insert HTML Component. To insert an unsupported HTML tag, follow these steps:
Again, the new code is not placed directly into the existing code. Rather it is passed as a parameter to the HTMLMarkup bot that will insert the tag into the file when the file is served.
Using the Timestamp ComponentMarking your pages with the date and time of the last change or update shows visitors how fresh your content is. Unfortunately, its easy to forget to adjust the date every time you make an edit to a page. The FrontPage Timestamp Component automates this process and places the date and time of the most current revision on the page whenever it is served. To place a timestamp on your page
Youll see the date and time appear on the FrontPage Editors Normal tab. On the HTML tab, youll see something like the following: <!--webbot bot=Timestamp s-type=EDITED s-format=%d %B %Y %I:%M %p --> This code prompts the server to activate the Timestamp bot and passes parameters to it corresponding to how you configured the timestamp.
Using the Include Page ComponentThe Include Page Component builds the HTML from another file into the HTML file being served. This is a convenient way to place standard, recurring page elements, such as copyright notices or disclaimer text. It also has the advantage of enabling you to store this content in one place. If you need to update the content, you only have to do so once in the master file rather than once for each HTML file on your site. Using the Include Page Component is easy. Follow these steps:
|
Products | Contact Us | About Us | Privacy | Ad Info | Home
Use of this site is subject to certain Terms & Conditions, Copyright © 1996-2000 EarthWeb Inc. All rights reserved. Reproduction whole or in part in any form or medium without express written permission of EarthWeb is prohibited. Read EarthWeb's privacy statement. |