My Navigation Bar

Editing or Viewing HTML

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 HTML Tab 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 to a blank page.

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

exphorsd.gif (964 bytes)

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).

expbul2d.gif (852 bytes) . 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
.
expbul2d.gif (852 bytes) . Open your file in the FrontPage editor.
.
expbul2d.gif (852 bytes) . Type in some unique characters where you want to put the code on your page, for example: XXXXX
.
expbul2d.gif (852 bytes) . 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.
.
expbul2d.gif (852 bytes) . In the FP Editor containing your page, switch to the HTML tab.
.
expbul2d.gif (852 bytes) . 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.
.
expbul2d.gif (852 bytes) . Search for the unique characters you typed in step 3 (XXXXX), delete the characters leaving the cursor where the characters were.
.
expbul2d.gif (852 bytes) . To paste the HTML code from the Clipboard, press Shift-Insert (hold down the chift key, and then press the Insert key).
.
expbul2d.gif (852 bytes) . Change the midi file name symp4b.mid, to your midi file. You can also use this code for playing .wav files.
.
expbul2d.gif (852 bytes) . Press OK, poof, you'll see a plugin on your page.
.
expbul2d.gif (852 bytes) . 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">

exphorsd.gif (964 bytes)

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.

expbul2d.gif (852 bytes) . Open the FrontPage Editor, and use File/New to open a blank (normal) page.
.
expbul2d.gif (852 bytes) . 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 this HTML code to the clipboard.
.
expbul2d.gif (852 bytes) . In the FP Editor switch to the HTML Tab
.
expbul2d.gif (852 bytes) . 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)

.
expbul2d.gif (852 bytes) . To paste the HTML code from the Clipboard, press Shift-Insert (hold down the shift key, and then press the Insert key).
.
expbul2d.gif (852 bytes) . Switch back to the Normal Tab view, you'll see the Components on the page, that represent the HTML that you copied.
.
expbul2d.gif (852 bytes) . Select the components in Normal view of the FrontPage Editor (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.
.
expbul2d.gif (852 bytes) . 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.
.
expbul2d.gif (852 bytes) . Save your page, and you are done.

 exphorsa.gif (999 bytes)

 [Home] [ScrapBook] [Chat] [Links] [Contact] [FrontPage]
This page hosted by GeoCities Get your own Free Home Page
JES - 06/06/99