People say that the best way to write the code is to put it in all CAPS. I choose not to do that. The reasons its good to do though is you can destinguish your codes from your normal text. That is up to you. For the purpose of this tutorial I'll put them in Caps.
The top of your page should look something like this:
<HTML><HEAD><TITLE>title of your page</TITLE></HEAD>
After those tags you'll want to define what colors to use on the page. You do that by adding the BODY tag.
<BODY BGCOLOR="color code" TEXT="color code" LINK="color code" VLINK="color code">
Now I'll break it down for you. color code is the 6 digit hexidecimal code. That being #453454. Each code standing for a different color. But that will be coverd in another section.
BGCOLOR is really what it sounds like. Its the background color. Without it then the background will be what ever default color the viewers browser is set at. ALWAYS, ALWAYS, ALWAYS put a BGCOLOR! If you don't then for all you know somebodies BG will be the same as your text to the point they couldn't read it.
TEXT is exactly what it says. It defines the color of your text.
LINK is the color of your links to various pages or portions of your page. VLINK is the color of a visited link. Once you've cliked on a link this color will let people know they've visited that link before.
Another tag you can add in is the ALINK that can go after VLINK or else where in the BODY line. Basically all that is, is the color for an active link. I haven't had any need for it but you can choose to use it if you wish.
So now you're ready to add some text. Your basic comands will be coverd here and the rest will be enterd later.
To make things BOLD you need the B tag. That tag is very simple to do. Just do it like this:
<B>text</B>
And thats all there is to making it bold. To make things Italic and under lined you do it the same way as the Bold
<I>italic</I> <U>under lined</U>
Those looks like this Hi I'm underlined and Italic
If you happen to want some spaces in between lines of text or pictures, again the code is simple.
To have no space but to end a line use this tag <BR>
That looks something like this:
Hello james
How are you today? I am writing to
you using the BR tag
In HTML
If you want some space between them the tag is <P>
hello sandy
thank you for writing to me yesterday. I
really miss you
come home soon please.
Say a space between everything isn't enough... you want to have a divider. Well you can use an image if you wish or the following <HR> tag. The HR tag will make a divider like this
When you're finished you want to close the page off.
</BODY></HTML>
So your first page will look like this:
<HTML><HEAD><TITLE>title of your page</TITLE></HEAD>
<BODY BGCOLOR="color code" TEXT="color code" LINK="color code" VLINK="color code">
<B>Greetings stranger</B><P>
<I>My Name is Bob</I> <U>Have you seen my cat?</U><BR>
<HR><BR>
So now you're ready to move on!