My Navigation Bar

Editing or Viewing HTML in FrontPage 97

Whether you want to paste some HTML into your page, tweak some HTML parameters not supported by FrontPage, or just learn what the HTML generated by FronPage looks like. Using the View/HTML dialog is the best way to play with the HTML for a page in the FrontPage Editor (Note: you can also use the Windows Notepad to directly edit HTML).

My first example shows how to paste the HTML for a plugin to play music on your page.

If when you are pasting HTML this way, FrontPage eats or corrupts some of the HTML on your page, I have a second technique, where I show how to paste the GeoGuide code.

When all else fails, I explain on my Tips Page, how to add HTML to your page so that FrontPage doesn't parse it.

Pasting the Embed Music HTML

This example explains how to insert the HTML to play background music in a page (see Annabella's HTML Help for a description of the HTML).

1   Back up your file, this is important because the FP Editor will parse the HTML you are inserting, and if there is a mistake, the FP Editor may eat some of the HTML on your page
     
2   Open your file in the FrontPage editor.
     
3   Type in some unique characters where you want to put the code on your page, for example: XXXXX
     
4   Then copy the HTML code you want to insert to the Clipboard. Using the mouse, highlight the following code (hold the left mouse button down and drag). Then press Ctrl-C (hold the Ctrl-Key down and press the C key) to copy this HTML code to the clipboard.
     
    <embed src="symp4b.mid" align="baseline" border="0"
width="200" height="60" autostart="true" loop="true">
<noembed><bgsound src="symp4b.mid" loop="infinite"></noembed>
     
    Note: You can copy any HTML from a page, by viewing the source (See View Source) and using the same technique to copy the HTML to the clipboard.
     
5   In the FP Editor containing your page, click on the View Menu, then click on the HTML sub-menu item.
     
6   A window with the HTML for your page will appear. In this window you can Type new HTML into your page, or Edit any of the HTML on your page.
     
7   Search for the unique characters you typed in step 3 (XXXXX), delete the characters leaving the cursor where the characters were.
     
8   To paste the HTML code from the Clipboard, press Shift-Insert (hold down the chift key, and then press the Insert key).
     
9   Change the midi file name symp4b.mid, to your midi file. You can also use this code for playing .wav files.
     
10   Press OK, poof, you'll see a plugin on your page.
     
11   Don't forget to remove the background sound from the Page Properties popup.

Sample EMBEDed Plugin for a midi file:

<bgsound src="symp4b.mid" loop="infinite">

Pasting To A Blank Page

This explains how to insert HTML by first pasting it to a blank page. You then copy the elements from the blank page to your page.

1   Open the FrontPage Editor, and use File/New to open a blank (normal) page.
     
2   Then copy the HTML code you want to insert to the Clipboard. Using the mouse, highlight the desired code (hold the left mouse button down and drag). Then press Ctrl-C (hold the Ctrl-Key down and press the C key) to copy the HTML code to the clipboard.
     
3   In the FP Editor, click on the View Menu, then click on the HTML sub-menu item.
     
4   A window with the HTML for the blank page will appear. Find the body tag, it will look something like this:

<body bgcolor="#FFFFFF">

Position the cursor at the end of the line, and press enter to create a blank line (with the cursor on it).

     
5   Then to paste the HTML code from the Clipboard, press Shift-Insert (hold down the shift key, and then press the Insert key).
     
6   Press OK, when you return to the FrontPage Editor, you will see the Components on the page, that represent the HTML that you copied.
     
7   Select the components you want (click or click and drag on them with the mouse). Select menu Edit, then select the Copy sub menu item, this copies the components to the clipboard.
     
8   Open the page you want to put the components on. Put the cursor where your want them, then select the Edit menu, then select the Paste sub menu item, this pastes the components from the clipboard.
     
9   Save your page, and you are done.

 [Home] [ScrapBook] [Chat] [Links] [Contact] [FrontPage]

This page hosted by GeoCities Get your own Free Home Page

JES - 04/11/98