Okay, here’s the code of my example, hopefully this’ll make some things clearer about HTML:
<HTML>
<HEAD>
<TITLE>Sample web-page for Northern Piper</TITLE>
</HEAD>
<BODY>
<H1>Hi, <U>Northern Piper</U></H1>
<P>Here's some of the great things you can do with HTML...</P>
<OL><LI>Link to another place on the web, like the
<A href='http://boards.straightdope.com/sdmb/'>SDMB</A></LI>
<LI>Show pictures, like this avatar I use on another message board:
<IMG src='skaylee2.gif'></LI>
<LI>You knew this was coming... <I>Hi, Opal!</I></LI></OL>
</BODY></HTML>
To see how this all looks in a browser, you can go to my ISP webspace, where I’ve just put it: http://home.cogeco.ca/~ckenworthy1/npiper.html
There are lots of different tags in here, in order of first appearance:
<HTML>, which isn’t really required, but helpful for the browser to realize that the whole thing is an HTML file
<HEAD>, which marks off stuff that’s basic information, not really part of your web-page document. Here, the only HEAD element we have is:
<TITLE>, showing the title information that can go across the top of the browser window.
<BODY>, in contrast, contains information that should show in the main browser area.
<H1>, is a level one heading, with very emphatic formatting. You can go down to an <H5> for heading level five
<U> inducates underline formatting.
<P> calls for a simple paragraph.
<OL> marks off a list with number headings on each item.
<LI> seperates the different items in a list
<A href…> is a link to somewhere else, like another web address.
<IMG> puts an image file inside the webpage
<I> indicates underline formatting.
There are lots of other HTML tags, but these should suffice to give you a basic idea. There are lots of pages you can go to learn more about the nuts and bolts of HTML.
Most of these tags have closing tags, which are the same except they have a / before the opening <. It’s a good idea to be sure that you have your tags closed off, unless you’re sure that’s not needed, like with IMG, and that if you start one tag ‘inside’ another, you should close it inside as well and not have them overlap untidily.
You’ll need to understand about web addressing too, but that should be fairly easy to start with. To give you the address to my page, for instant, I started with http://home.cogeco.ca/~ckenworthy1/ , which is the address for my home page that my ISP gave me, and added the filename of the page I made for you at the end of it, npiper.html (HTML pages should end with an extension of htm or html in general.)
You’ll also need to learn how to transfer the webpage to a server that can deliver it to anybody who asks for it, which can be simple or tricky. I use an FTP client to send pages to my home space, which is another internet protocol, and lets you send files from place to place, and enter a username and password to make sure that other people can’t mess with your webspace.
Does that spiel help you out at all? 