Home » Tools and Resources

Content creation part 2 – Nvu HTML Editor

17 August 2008 14 Comments

Part two of this series on creating content is a tutorial on building web pages using Nvu. If you came here yesterday looking for this post then apologies for the slight delay. I decided this tutorial would work better as a video, so it’s taken slightly longer to put together but I hope you’ll agree it was worth the effort (plus I was really busy yesterday working through the RRS material!).

Anyway – here’s the video, and below you’ll find the rest of this blog post if you’d rather read along than watch. (Plus you’ll also find all the links mentioned in the video below!)

Links

Download Nvu: nvudev.com

Tutorial template: squeeze.zip

Nvu – creating web pages

If you’ve not done so already, head over to nvudev.com and download the free software. It’s available for Windows, Mac or Linux so just grab whichever flavour you need, install it and you should see a screen something like this:

Nvu HTML Editor
Nvu HTML Editor – Main screen

Now, this tutorial is NOT intended to teach you HTML. What I want to show you is how, with no experience and very little effort, you can use the WYSIWYG editing screen in Nvu to create or edit web pages for use as squeeze pages, sales letters, HTML emails etc.

Quick overview of the Nvu interface

Most of the buttons on the toolbars are pretty much self explanatory, and you can hover the mouse over them for tips so I won’t waste time explaining them here. Below the toolbars, to the left is a sidebar called Nvu Site Manager. This is for keeping track of all the files used for a website, but since we’re just concentrating on single pages today you can go ahead and close it. That will allow the main editing window to expand to the width of your screen.

The window has tabs along the top, and the bottom. The tabs on the top are for different pages and by default you’ll have just one open, named untitled. The tabs along the bottom are for different views of the same page: Normal, HTML Tags, Source and Preview.

Nvu view tabs

You should currently see what looks like a blank page on the Normal tab. Click on the Source tab and you’ll notice that in fact, it’s not a blank page at all, it is already filled with some HTML code like this:

HTML wrapper code
HTML wrapper code for a blank page

This is the code needed to tell the browser that this is an HTML page, and make sure it renders correctly. Here’s the good news – you really don’t need to worry about this since the beauty of a program like Nvu is that it takes care of the code for you, while you just concentrate on how the page looks!

Building and editing web pages

Go back to the Normal view and type some text on the page. Then highlight the text and change its colour to red using the colour tool on the toolbar (2 squares next to the dropdown menu that says ‘Body Text’). Now if you click back on the Source tab, you’ll notice that your text has been wrapped within some extra code. Depending on your default settings, your text might look like this:

<font color=”#990000″>Hello World!</font>

or like this:

<span style=”color: rgb(153, 0, 0);”>Hello World!</span>

The reason for the differences is that the first one is pure HTML, and the second is HTML/CSS. You can choose either style from the Tools>Preferences menu, but for our purposes is really doesn’t matter as the end effect is the same. What is important though, is that you realise what is happenning… You are making changes in the Normal tab, and Nvu is writing the code for you which you can view in the Source tab.

Go ahead and save your page as myfirstpage.html and then open it in your web browser…

Congratulations, you just built a web page!

Making a useful page

OK, so you won’t win any design awards for what you just did, but hopefully it gave you the confidence that creating and editing your own web pages doesn’t have to be that difficult.

Now lets do something a little more useful. I’ve created a simple squeeze page template for you. Download it, unzip it, and open up squeeze.html in Nvu. You should see something like this:

Squeeze page template

This is a squeeze page which you can edit and actually use on your own sites if you like, but for now I just want you to practice on it. Just quickly click on the Source tab and see how much code there is for a simple page like this – aren’t you glad Nvu writes the code for you rather than having to learn all that HTML?

Making changes is very intuitive. To change text simply highlight it, or delete it, and start typing. Use the toolbar to change the font, colour, weight, and alignment of the text.

The bullet points you see are what’s called an unordered list. You can choose unordered, and ordered (numbered) lists from the toolbar too.

Links

To create a hyperlink (to another site, or another page on your own site) just highlight the text you want as your anchor (the text you want your visitor to click on) and click on the Link button on the toolbar. You’ll see a dialog box like this:

Nvu link properties

Type the URL you want to link to (including the http://) into the Link Location. If you want to link to a web page or file (like a PDF ebook) on the same site as this page, you don’t need the full URL. For example, if you link to contact.html which is in the same directory as the page you are linking from, just type contact.html and check the URL is relative to page location checkbox before clicking OK.

Images

It’s a surprise to many people new to building websites, that images are not actually part of the page. A webpage is the HTML document and this basically links to the images and arranges them in the browser. That means we have to upload our images separatly.

On the squeeze page example, my signature is actually an image. Right click on it and select Image Properties and you’ll see that the Image Location is sig.jpg

This is because the file sig.jpg is in the same directory as the web page. To keep things simple for now, place any images you want to include in the same directory as your web page, then just put the filename in this box. You can then use the other image properties to align the image as you want.

Opt-in Form

At the bottom of the page is the actual opt-in form. Of course, you’ll want to change this for you own one, otherwise you’ll be adding people to my list!

This is the point where you will need to get your hands slightly dirty with HTML – but don’t worry I’ve made it easy for you!

Click on the Source tab once more, and scroll down to line 128. You’ll see this line:

<!– Opt-in code starts here… Change it for your own! –>

This is an HTML comment (comments are code between <!– and –>) which is actually ignored by the browser and is just there to help us humans. The opt-in code starts here, and ends at like 161. Simply go to Aweber (or whatever autoresponder you use) and create an opt-in form, copy the code, and paste it here instead of mine. See – told you it would be easy!

So there you go – in 10 minutes flat you’ve edited a template and created a usable squeeze page. Of course, there’s a lot more you can learn but hopefully this tutorial has given you some understanding of how web pages work and, more importantly, the confidence that you can do it.

Tomorrow we’ll move on to part three in this series which will teach you more about images and how to use the GIMP editor.

14 Comments »

  • Jason said:

    The tutorial on building web pages using Nvu is great!

  • Susan said:

    Ummmmm….
    Just stumbled upon this tutorial… and I really liked it. But, now you’ve got me wondering… where is part 1 of the 2??
    May I watch it, too, please???
    Ta,
    Susan

  • admin said:

    Glad you liked it Susan… Part one is HERE or you can link to the entire series HERE

  • JANDREAS said:

    Thanks for the Tutorial- it is very helpful.
    But:
    After knowing now how to actually fill/design a page I have a problem.
    I want to do a 6 Page Web in 3 different languages and I shall have help to link it all together. But what I am doing now is -having one page designed I want to use it as a template for all the others.
    I put header,list on the left and text right side.Store with its name.
    Now I change the text and then store in Documents-Web- with the name of each page.Correct shown in program files after.
    Now, if I open any of them with NVU they are all showing up with the name of the original page.So I fear I did s.t. wrong .
    My idea was to have a “master page design” which is the base of all my different pages -Template? ( im Spanish sorry) and which can still be modified in 1 place , being this modification applied to all “sub pages” with different text.
    That should be the way? I am just a autodidact and so this might be a very silly question. But I am looking forwards to further videos or text tutorials from U. I really want to understand.
    And I thank U again for this Tutorial.
    Greetings from the Mediterranean sea jandreas

  • admin said:

    Hi Jandreas

    Thanks for your comment, gld you’re finding some of this stuff useful.

    Although this post was about Nvu as I was aiming it at beginners, or those on a low budget, it’s not as powerful as a commercial package. Personally I use Dreamweaver which has excellent template features which I’m afraid you won’t find in Nvu.

    Your three options in this instance would be:

    1. Upgrade to Dreamwearver
    2. Make up a ‘master’ page and simply copy/paste the information you need and save as new files when you want to update (won’t take long with only 6 pages!)
    2. Use PHP includes. These are individual sections of PHP code which can actually just be echos of HTML. You then just include these in your pages, and when you need to update you only change the include page, and it updates across the whole site! Do a quick Google search for PHP tutrials and specifically includes and you should find lots of info – and that way you can stil use Nvu!

    Cheers

    Bill

  • Tammy said:

    Thanks for the great NVU tutorial and for the opportunity to ask questions / leave comments.

    I’m having a problem uploading a template into NVU… could you please point me to some free templates that can be used with NVU as well as to how to upload them and modify them?

    Thanks much!
    Tammy

  • Dean Bourke said:

    hi, do you have any tips on using the Java “mouseover” etc on images?

  • James said:

    Hi Bill
    well done mate. I really enjoyed how simple you made that presentation with NVU. I have been looking for something for my team to use that is simple and I will be promoting what you have done.

    I have a question though. How did you get the borders of your table? I mean the grayed out edges for the centre?

    Would love to know how you did this.

    Thanks again

    James

  • Art Sundquist said:

    I used the squeeze page template to create pages for my site, and renamed them as needed, but when I open them up in Nvu, the tabs at the top of the page call them “Editable squeeze page training template” instead of the names I have given them, and when I view the site online, the bar at the top shows “Editable squeeze page . . . from Online business logic.” Is there a way to remedy this, so the actual title that I have given the pages will show up?

  • Jiles said:

    Hi Bill
    Thanks for this great tutorial which I working my way through

    I have a basic question though – I can’t view the videos – all I get is a blank square surrounded by a thin border and in the top left-hand corner of this blank space is a small square symbol containing a triangle, a circle and another tiny red square

    I assume that there is something on my browser that is bloking the video from appearing but what might that be and how can I correct it? Alternatively is there another explantion

    Yours, frustrated

    Jiles

  • Dee said:

    Hi Bill, I just happened upon your yourtube video on part nvu creation and thought it was so exceptional that I joined your subscriber list. I do hope to learn alot from you. Oh btw, where is part 1?

    Thanks a bunch!
    Dee

  • David George said:

    Thank you very much! This video has helped me tremendously. Is there any way I could contact you and maybe set up a webinar so that you could maybe answer a few questions for me. If so, then please e-mail me or call me at 936-445-7409.

  • Ariel M said:

    Hi, try http://www.online-html-editor.net
    Is very simple and cool..

  • admin (author) said:

    Thanks for the link Ariel that looks very cool… I’ll test it out when I get a few minutes and write a review here on the site!

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.