BUILDING A SIMPLE HOME PAGE By Jo-Anne Head Chairman, PC User Group SIG ACGNJ (Amateur Computer Group of NJ) 908-769-7385 tinarock@aol.com All home pages are constructed with html codes. HTML stands for HyperText Markup Language. This is a cross-platform documentation method so that any computer equipped with a Web browser can read your document. You mark the text with the html codes and the browser translates them. HTML is created in ASCII text, which every computer comes already equipped with. If you are running Windows, you can use Notepad to create your home page. If you are running DOS, then you can use Edit.com to create your home page. HTML coding is simple. Essentially you are tagging each paragraph in your document. Every time you hit the Return or Enter key you are making a paragraph. Thus, the title of your document is a paragraph. Any heading on your document is a paragraph. A block of text is a paragraph. Each line of poetry in a poem is a paragraph. Each of these paragraphs has its own html tag. There are also tags for things such as italics or bold, if you want several words in your document to stand out and look different. Then there are special tags for links to other files. These hotlinks are what makes the Web so much fun. You can click on a hotlink and jump from document to document, and each document can be located on a different computer in a totally different place. You can start out reading a home page in New York City and the next page you read can be in California, and the next one can be in England. You don't notice these distances; you just click on the link and the home page displays in front of you on the screen. So you have your own Internet account and you have been browsing the Web and you are wondering how to put up your own home page on the Web. It's very simple and we'll learn just how to make a home page. As you go through this document, I recommend that you fire up Notepad or Edit.com and type in the codes just as you see them here. Then start up your Web browser, such as Netscape, and view each version of this home page as we build it. Be sure to save your file as an ASCII text file with extension .htm each time you make a change to it. This way Netscape will "see" the new changes you are making and you will be able to see any errors you might have committed and fix them. The first code we will learn is the code. All HTML documents start out with an code. This lets the browser know that this is an html document. At the very end of your page, there is an code. This signals the end of the html document. The next code is the code. Here is where you insert the text that you want to appear in the title bar of your home page. The title bar is the colored bar across the top of the window. For example, <title>My Home Page Notice that the tag has text following it, and it closes with the tag. This signals that the title is complete. Now you are ready to create the body of your home page, so it's time for the tag. When you are completely done creating your page, you have to put in a tag just before the tag. So far here's what your home page looks like: My Home Page You need some text, or "content", in your home page at this point. Everyone generally starts out with a heading at this point, and typically the heading is the same as the title. There are six levels of headings in html, as follows:

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
Generally you use a Heading 1 to begin your page. Following the conventions we have been using, your page now looks like this: My Home Page

My Home Page

You still don't have any content, so it's time to think about paragraphs. After a Heading tag, there is some automatic space built in between the Heading and the text of the paragraph that follows. The font automatically comes down to a normal size once you have closed your Heading tag. HTML does not make line breaks at the end of lines. You could type in your paragraph in a very long line without ever hitting the Enter key, but that would make your document very hard to read when you come back later to change it. (and you will!) Therefore, for the reader's sake, hit the Enter key at the end of each line. HTML does automatic word wrap to fit the window size of the Web browser you are using, so don't be concerned about hitting the Enter key, it is ignored. When you end your paragraph, you have to put in the paragraph tag. It's very simple:

This tells the browser to leave some blank space so that it will look like a paragraph break. Now let's fill in some content in your sample Home Page: My Home Page

My Home Page

Hi everyone, my name is Joe Schmoe and this is my very own Home Page.

This is my first attempt at making my own page and I am having a lot of fun. Since I am following directions I am not making any mistakes.

All right now, you want to put a link in your home page to another Web page that you think is really cool. Start out by putting in a heading to alert your readers that you are going to talk about another subject:

Some Cool Hot Links

Then put in some text about your links: Here are some links I found on the Web that really turned me on.

Now it's time to put in the links. What you are doing is inserting the URL to another place on the Web. What's a URL? That's the Uniform Resource Locator, or in other words, the address to the site on the Web. Other Web pages often start out with the http:// format, which makes them easy to recognize. Files that you can download start out with ftp:// or with file://, depending on where the file is located. The easiest way to insert a link to another Web page is to use Windows' cut and paste, so highlight the link that you like by dragging your mouse across the text so it changes color, and then use Edit/Copy, then go to your home page document and use Edit/Paste to put in the link correctly. Be sure to include some description of the link so that the reader gets an idea of what is found on that Web site. Our home page now looks like this: My Home Page

My Home Page

Hi everyone, my name is Joe Schmoe and this is my very own Home Page.

This is my first attempt at making my own page and I am having a lot of fun. Since I am following directions I am not making any mistakes.

Some Cool Hot Links

Here are some links I found on the Web that really turned me on.

Click here to get to the Electric PostCard and send a postcard to your friends on the Web for free.

Want to color some pages in? Click here to get to Carlos' Coloring Book.

Notice the link starts out with and ends with . This is just another html tag and works the same way as and . The only tricky part is getting the http:// address exactly correct, and if you use Windows cut and paste as I mentioned already, you will avoid the typo problem. Remember that all of the text found between the opening tag and the closing tag will be included in the underlined/colored hotlink that you can click on to jump to another site. Now you have a simple home page. Maybe you'd like to jazz it up a bit. So let's add BLINK to the home page. The tag causes all text between its opening and closing tags, to blink. Let's make

a blinking header, to draw attention to these cool hot links we made. My Home Page

My Home Page

Hi everyone, my name is Joe Schmoe and this is my very own Home Page.

This is my first attempt at making my own page and I am having a lot of fun. Since I am following directions I am not making any mistakes.

Some Cool Hot Links

Here are some links I found on the Web that really turned me on.

Click here to get to the Electric PostCard and send a postcard to your friends on the Web for free.

Want to color some pages in? Click here to get to Carlos' Coloring Book.

Pretty cool huh? But let's add some more jazz....How about a Shadow Line? I have seen all varieties of Shadow Lines on the Web. Just use a


tag along with a

tag. Shadow Lines are good dividers when you are changing the subject but don't want to start a whole new home page. Let's try it... My Home Page

My Home Page

Hi everyone, my name is Joe Schmoe and this is my very own Home Page.


This is my first attempt at making my own page and I am having a lot of fun. Since I am following directions I am not making any mistakes.

Some Cool Hot Links

Here are some links I found on the Web that really turned me on.

Click here to get to the Electric PostCard and send a postcard to your friends on the Web for free.

Want to color some pages in? Click here to get to Carlos' Coloring Book.

By now you are ready to save your Home Page. Save it as ASCII text and be sure to give it a name that ends in .htm. Typically, the first home page in your series of home pages should be called index.htm, so let's name it that. INDEX.HTM You can make other Web pages that you can have your Home page jump to, and they can have different names, such as home2.htm, home3.htm, home4.htm, or whatever naming convention you want to use. Everybody signs their home page these days, generally putting in their name or their cyberspace handle or e-mail address, and frequently also the date that the page was constructed. There is a special tag for this called the

tag, which puts your address in italics. Here's an example:
Joe Schmoe jschmoe@intac.com PO Box 000 Scotch Plains, NJ 07076
Let's see how that looks at the bottom of our home page. My Home Page

My Home Page

Hi everyone, my name is Joe Schmoe and this is my very own Home Page.


This is my first attempt at making my own page and I am having a lot of fun. Since I am following directions I am not making any mistakes.

Some Cool Hot Links

Here are some links I found on the Web that really turned me on.

Click here to get to the Electric PostCard and send a postcard to your friends on the Web for free.

Want to color some pages in? Click here to get to Carlos' Coloring Book.

Joe Schmoe jschmoe@intac.com PO Box 000 Scotch Plains, NJ 07076
You might prefer to put Joe's e-mail address after his snail mail address. I prefer not to use the
tag myself; instead I like to use a
header and then the mailto: function that Netscape provides. This allows your reader to send you e-mail very easily. It looks like this:
Web page constructed by Tina Rock, 8/16/95.
Notice that there was a tag in this section. It was placed just after the
tag and continued all the way through to the end of the section and the close italics tag appeared before the close
tag. This results in bold italics and looks nice. Now let's throw in the mailto: function after Joe's
and see what it looks like. I think using both is a bit much...your mileage may vary. My Home Page

My Home Page

Hi everyone, my name is Joe Schmoe and this is my very own Home Page.


This is my first attempt at making my own page and I am having a lot of fun. Since I am following directions I am not making any mistakes.

Some Cool Hot Links

Here are some links I found on the Web that really turned me on.

Click here to get to the Electric PostCard and send a postcard to your friends on the Web for free.

Want to color some pages in? Click here to get to Carlos' Coloring Book.

Joe Schmoe jschmoe@intac.com PO Box 000 Scotch Plains, NJ 07076
Web page constructed by Tina Rock, 8/16/95.
Upon looking at the resulting page, you might wish to put in line breaks in the
so that it looks more like a conventional address. Just add in a
tag wherever you want a line break, and it will look as if you hit the Enter key: My Home Page

My Home Page

Hi everyone, my name is Joe Schmoe and this is my very own Home Page.


This is my first attempt at making my own page and I am having a lot of fun. Since I am following directions I am not making any mistakes.

Some Cool Hot Links

Here are some links I found on the Web that really turned me on.

Click here to get to the Electric PostCard and send a postcard to your friends on the Web for free.

Want to color some pages in? Click here to get to Carlos' Coloring Book.

Joe Schmoe
jschmoe@intac.com
PO Box 000
Scotch Plains, NJ 07076
Web page constructed by Tina Rock, 8/16/95.
Hmm, I guess it's not too much after all, to have an
block and a MAILTO: feature. OK, now feel free to go back and change your page as much as you want to, just remember to save it each time. Then load it into your Web browser and take a look at it and test it. Netscape provides a handy Reload button, so if you leave the filename the same each time you modify the file and save it, just hit Reload and the new version will come up so you can look at it. Now you're looking at your home page and it's pretty jazzy, but it doesn't have any graphics yet. You want to put in some graphics. Being considerate of the users who will hit your home page, you are not going to put in any really BIG graphic files. Small graphics load much more quickly than big ones. If your .gif is too big, get a copy of LView (it's shareware) and edit your image to make it smaller. Save it in .gif format under a slightly different name, and you have a graphic file to put into your home page. Be sure to put the .gif into the same directory as your home page. You will be creating a link to the .gif and it loads more quickly if the browser doesn't have to look far to find it. When you upload your home page to your Internet provider, make sure you upload your .gif images to the same directory that you put your .htm files in. The following code tells the browser to load a .gif image and place it on the righthand side of your home page. It tells the browser that the source of the image is a file in the same directory as the home page, and that the .gif file is named "tinarock.gif". Images can also be aligned to the left, center, above and below the current line, and other ways too. The size of the image can be specified in pixels. However, if you want to know all that, you will have to download a html tutorial from the Web and study it for yourself. I am not going into it here. It is a good idea to say something about the picture you include on your page. So be sure and mention something about the picture. Let's see what this .gif makes the page look like: My Home Page

My Home Page

Hi everyone, my name is Joe Schmoe and this is my very own Home Page.


This is my first attempt at making my own page and I am having a lot of fun. Since I am following directions I am not making any mistakes.

Here's a picture of my latest girlfriend.

Some Cool Hot Links

Here are some links I found on the Web that really turned me on.

Click here to get to the Electric PostCard and send a postcard to your friends on the Web for free.

Want to color some pages in? Click here to get to Carlos' Coloring Book.

Joe Schmoe
jschmoe@intac.com
PO Box 000
Scotch Plains, NJ 07076
Web page constructed by Tina Rock, 8/16/95.
Now take a good critical look at this home page. It looks to me like the .gif image starts too low on the page. So let's go back and revise the page and move the .gif higher up. How do we do that? Just take out the code from where it is (Windows--Edit/Cut) and put it in at the end of the preceding paragraph using Edit/Paste. Now look at it in the browser and see if it looks better higher up. My Home Page

My Home Page

Hi everyone, my name is Joe Schmoe and this is my very own Home Page.


This is my first attempt at making my own page and I am having a lot of fun. Since I am following directions I am not making any mistakes.

Here's a picture of my latest girlfriend.

Some Cool Hot Links

Here are some links I found on the Web that really turned me on.

Click here to get to the Electric PostCard and send a postcard to your friends on the Web for free.

Want to color some pages in? Click here to get to Carlos' Coloring Book.

Joe Schmoe
jschmoe@intac.com
PO Box 000
Scotch Plains, NJ 07076
Web page constructed by Tina Rock, 8/16/95.
Feel free to move your .gif image to any location on your home page and see how it looks; but always be sure and look at it with your browser BEFORE you upload the edited page. It's much easier to perfect your home page on your own computer than to make changes, upload it to the Web, and later discover there are errors to be fixed. PUTTING PAGE UP ON WEB/RENAMING IN UNIX/GIVING READ PERMISSIONS When you are sure that all errors have been fixed, you are almost ready to upload your simple Home Page to the Web. First save your file, then continue. Go through your home page in Notepad or Edit.com and look for all instances of filenames that end in .htm extension. Change all of those .htm extensions to .html That is because when you upload your home page to your space on the host computer of your Internet account, you will be putting your document into a Unix environment. Now you are ready to ftp your document to your host computer. I am not going to explain how to ftp. Once you have uploaded your document to your home directory on the host computer, you will want to give the document read permissions. Type in this command: chmod +r filename.html This will enable users to hit your home page. Be sure to upload any .gif files you are including with your Web page. After you are completely finished uploading your page, it is time to start up Netscape and try to access your own page. I don't know about you, but I get to my intac home page this way: URL = http://www.intac.com/~tinarock and we get there. If you name your main home page index.html then by default that page will come up when somebody accesses your home directory (http://www.yourprovidername.com/~username). For further reference, use NetSearch button in your Netscape browser and search for HTML TUTORIAL.