Basic HTML
for Basic page building

Newbie Project Of the Week

Voltar

Cloud Cash

This Weeks NPOW will walk you thru making a basic simple page in nothing but pure HTML code. Once you do this project and follow along, you will find that HTML is very easy and fast to use. For terms and definitions of page elements, see the past projects labeled Free Site Basics and TGP Gallery Basics And remember this project *IS* the bare basics..

We start off by opening a pure text editor. Forget all the fancy stuff, and programs. They are not needed here. I suggest you use the NotePad program that comes with Windows and is on most computers. If you're using a Mac, do yourself a favor and upgrade to a real computer, I don't support fruit in these newbie projects. Over 90% of your surfers won't be using it either, so build for the most traffic. Some things may work differently for you.

First command in is last command out.
Every web page has a basic layout that must be followed. First command in is last command out. Commands are inside of the greater than ">" and lesser than "<" symbols. To shut off a command you place a "/" in front of the command word or phrase. Basically when you turn on a command(s), you must turn them off in reverse order. You tell the browser that the page is a HTML page. At the End of the Page you tell the browser that the HTML page has ended. Everything goes inside of these tags, put them on your page like this...

<HTML> </HTML> You tell the browser that you have a HEADer on that page. You tell the browser to shut off the HEADer on that page.

<HTML> <HEAD> </HEAD> </HTML> Inside the HEAD tags you tell the browser that you have a TITLE for that page. Inside the HEAD tags you tell the browser to shut off the TITLE for that page, lets call the TITLE of this page "My First HTML made page"

<HTML> <HEAD> <TITLE>My First HTML made Page</TITLE> </HEAD> </HTML> Inside the HEAD tags is where you also place your META tags and Javascripts, but we won't go into those for this basic page.

Now we add the BODY tag (everything you see on a web page you see from inside the BODY tags). Now we shut off the BODY tag right before the HTML is shut off.

<HTML> <HEAD> <TITLE>My First HTML made Page</TITLE> </HEAD> <BODY> </BODY> </HTML> What you now have is the raw basic elements for almost all web pages. They all begin with these things in common.

Now lets add some simple items that you will use all the time. Follow along and make this page with me, by doing you learn.

Take the raw page we have and lets add color.
In the BODY tag itself you tell the page
what background color will be: bgcolor=""
what default color the text will be: text=""
what default color a link will be: link=""
what default color a visited link will be: vlink=""

Lets make the Page white, black text, red links, and blue visited links. You can use Hex code for the colors or the actual color names if you don't know the codes. Here is our page with the colors added:

<HTML> <HEAD> <TITLE>My First HTML made Page</TITLE> </HEAD> <BODY bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#0000FF"> </BODY> </HTML> Now, lets center your page name in big Headline text at the top of the page. CENTER then turn on the headline and size, place in the text, shut down the headline command, then shutdown the center commmand. Then use a BR tag to place a page break. Think of is as a carriage return on an old fashioned typewritter.

Have you checked out
the sponsors of the DFN Weekly yet?
Well what are you waiting for?
Check them out NOW!

<HTML> <HEAD> <TITLE>My First HTML made Page</TITLE> </HEAD> <BODY bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#0000FF"> <CENTER><H1>My First HTML made Page</H1> </CENTER><BR> </BODY> </HTML> Next, lets add a little bit of text to the page. Let's use the text: "I made my first HTML page by doing a VNWR Newbie Project Of the Week.". We use a FONT tag to determine SIZE, FACE (type of font), and color of the text. We are going to make the font size 4 and the face will be arial. We won't add color to the text yet. But we have to shut off the FONT tag after the text. The larger the font size the larger the text. Add another BR tag under the text. (Note; you do NOT have to shut off a BR tag).

<HTML> <HEAD> <TITLE>My First HTML made Page</TITLE> </HEAD> <BODY bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#0000FF"> <CENTER><H1>My First HTML made Page</H1> </CENTER><BR> <FONT SIZE="4" FACE="arial">I made my first HTML page by doing a VNWR Newbie Project Of the Week.</FONT><BR> </BODY> </HTML> Save this page at this point, and call it npow.html Open it in a browser and view it. See the text is not centered, but to the left. Now add CENTER Tags outside/around the font tags and text. Remember, to use the first in last out rule of thumb.

<HTML> <HEAD> <TITLE>My First HTML made Page</TITLE> </HEAD> <BODY bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#0000FF"> <CENTER><H1>My First HTML made Page</H1> </CENTER><BR> <CENTER><FONT SIZE="4" FACE="arial">I made my first HTML page by doing a VNWR Newbie Project Of the Week.</FONT> </CENTER><BR> </BODY> </HTML> Now save and view your page again in a browser. You'll see one long line of centered text. Lets balance that out with a BR tag placed in a good spot. Make the word "first" bold with a B command and then shutting it down after the word. /B

<HTML> <HEAD> <TITLE>My First HTML made Page</TITLE> </HEAD> <BODY bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#0000FF"> <CENTER><H1>My First HTML made Page</H1> </CENTER><BR> <CENTER><FONT SIZE="4" FACE="arial">I made my <B>first</B> HTML page by doing a<BR>VNWR Newbie Project Of the Week.</FONT></CENTER><BR> </BODY> </HTML> Now we will link the VNWR in that text to http://www.vnwr.com We do that with an anchor tag, and then shutting it down afterwards. All links (both text and graphic/image links) use this basic linking method. Look at the added line of code prior and after the VNWR in the text. To change where the link goes, you simply put in a different URL.

<HTML> <HEAD> <TITLE>My First HTML made Page</TITLE> </HEAD> <BODY bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#0000FF"> <CENTER><H1>My First HTML made Page</H1> </CENTER><BR> <CENTER><FONT SIZE="4" FACE="arial">I made my <B>first</B> HTML page by doing a <BR><a href="http://www.vnwr.com"> VNWR</a>VNWR Newbie Project Of the Week.</FONT></CENTER><BR> </BODY> </HTML> Save and view this page in a browser again. You can now make basic webpages, including linked text to sponsors by hand from absolutely nothing. WTG, it was easy. HTML is easy!!!! You are ready for adding graphics such as banners and thumbnails for galleries and sites.

Continued on Page 8

"Nobody can make you feel inferior without your permission."
Eleanor Roosevelt
"A real friend is one who walks in when the rest of the world walks out."
Walter Winchell

©2001 VNWR. All rights reserved.