If you've visited one of the many How-To sites on the Web, you may have found some HTML or JavaScript code that you'd like to try in your own Web page. However, when you select and copy the code in Internet Explorer, Windows doesn't know it's code and copies all of the formatting as well. When you select the HTML tab in the FrontPage editor then Paste, FrontPage assumes you want the text to appear in your Web page as it appeared in the page you copied it from, and not as "raw" text. (Note that this is only a problem with Internet Explorer; Netscape doesn't pass the formatting information to Windows, only the text itself.) You can use the Windows Notepad to quickly remove the formatting from the text. - First copy the text you want to use in Internet Explorer.
- Next, start the Windows Notepad (it's usually under Programs > Accessories in the Windows Start menu; I use it so often, I added a shortcut right in the start menu).
- In the Notepad choose Edit > Paste (or use Ctrl-v as a shortcut).
- When you paste the text, the insertion point will wind up at the very end of the text; to select the entire block of text, it's easy to just hold down the Ctrl and Shift keys, then hit the Home button on your keyboard. (You can all choose Edit > Select All.)
- Select Edit > Copy.
- Switch to FrontPage, click the HTML tab, locate the place in the HTML code you want to paste the new code in to.
- Choose Edit > Paste.
<Back to table of contents> |