Although you may be using Nvu to manage your website, from time to time you may find that you need to insert a snippet of raw HTML code into your web page. For example, you have may come across some code from, say, thesitewizard.com's Link To Us page. If you have tried inserting such code simply by pasting it into your page using Nvu, you would have found that your page displays the raw HTML code instead of the actual text or button you want.
This tutorial takes you through the steps of inserting such HTML code into your web page. The guide assumes that you already know how to use Nvu for creating and publishing a website using the WYSIWYG interface. It merely supplies the missing information on how you can insert third party HTML code. If you are not sure how to use Nvu, you may wish to start at the beginning with the article How to Design and Publish Your Website with Nvu.
Start up Nvu and open the page that you want to edit. If you have forgotten how to do this, simply click "File -> Open File", that is, click the "Open File" item on the File menu.
Click the spot on the page where you wish to insert the HTML code.
Switch to your browser and surf to the page where you can get the cut-and-paste HTML code. Select the code and copy it to the clipboard. To do this, drag your mouse over the HTML code to select all of it, click the right mouse button on the text and click the "Copy" item on the menu that appears.
Return to Nvu. Click "Insert -> HTML...". That is, click the "HTML..." item on the "Insert" menu.
A dialog box will appear. Click somewhere in the empty blank space. Right-click (that is, click the right mouse button) and select "Paste" from the menu that appears. The HTML code should appear in the box. Click the "Insert" button.
The code will now be inserted into your web page. If this was a button from, say, thesitewizard.com's Link To Us page, the image of the button will appear in your window and not the raw HTML code you saw earlier.
Voila, you're done. You can now save the file and upload it to your website.
Do you find this article useful? You can learn of new articles and scripts that are published on thesitewizard.com by subscribing to the RSS feed. Simply point your RSS feed reader or a browser that supports RSS feeds at http://www.thesitewizard.com/thesitewizard.xml. You can read more about how to subscribe to RSS site feeds from my RSS FAQ.
This article is copyrighted. Please do not reproduce this article in whole or part, in any form, without obtaining my written permission.
It will appear on your page as: