<HTML>
This is also the very last code you will write except with a slash included:
</HTML>
The slash denotes the end of a command, in this case the end of a page. All other commands and text will be written in between these two tags.NOTE: when putting codes into your email signature you do not need the HEAD,TITLE,META, or BODY tags, but you do need the HTML tags.
<HTML>
<HEAD>
</HEAD>
</HTML>
<HTML>
<HEAD>
<TITLE>Your title here</TITLE>
</HEAD>
</HTML>
<META NAME="description" CONTENT="your page description">
you will use whatever description you think is appropiate for your page. For example, where 'your page description' is I would use 'a page devoted to HTML and homepage design'. The second command is for keywords:
<META NAME="keywords" CONTENT="your keywords here">
again, use whatever keywords you want. If your page is about animals you might put 'animals, zoo, mammals, reptiles,' and on and on where 'your keywords here' is. Someone doing a search for reptiles gets your page in his list and checks it out. This is what your code should look like now:
<HTML>
<HEAD>
<TITLE>YOUR TITLE HERE</TITLE>
<META NAME="description" CONTENT="your
description">
<META NAME="keywords" CONTENT="your
keywords">
</HEAD>
<HTML>
You will notice in this case you do not need an ending slash (/) command for META TAGS.
<HTML>
<HEAD>
<TITLE>Your title</TITLE>
<META NAME="description" CONTENT="your
description">
<META NAME="keywords" CONTENT="your
keywords">
</HEAD>
<BODY>
</BODY>
</HTML>
<BODY BGCOLOR="red">
To use an Image you have found somewhere on the web, webtv users must link to it. Not many places allow this but thankfully, there is Draac. This gentleman has provided a list of backgrounds, images and sounds for you to link to for free. You may visit him at DRAAC' S GIFS 1-2-3. My background is from there. The address (also known as URL) must be included in the code and is written slightly different than a color background. Example:
<BODY BACKGROUND="https://members.tripod.com/~webtv22/sk y34.gif">
That URL will take you to the page containing my background. The URL of your choice would go where mine is.
<BODY BGCOLOR="white" TEXT="black" LINK="goldenrod" VLINK="blue" ALINK="green">
If using an image, replace BGCOLOR with BACKGROUND and the URL. You can also change these colors even if you haven't changed your background:
<BODY TEXT=" " LINK=" " VLINK=" " ALINK=" ">
Put your own colors in. Now let's add it to our other codes. This will always go right after your <BODY> tag:
<BODY>
<BODY BACKGROUND="http:// your URL here"
TEXT="your color" LINK="color" VLINK="color"
ALINK="color">
</BODY>
</HTML>
<BODY<
This is what you would see on your page!!
</BODY>
</HTML>
There are several tricks to changing the size, color, alignment, look, and other aspects of your text, detailed next.
<FONT COLOR="red">TRY IT LIKE THIS</FONT>
would look like this:
TRY IT LIKE THIS
You will notice you do use the ending </FONT> directly after the set of words.Let's see it in sequence:
<HTML>
<BODY>
<BODY BACkGROUND="http:// URL "
TEXT="black">
This is normal text
<FONT COLOR="red">this is your changed
text</FONT>
</BODY>
</HTML>
which would look like this:
this is normal text
this is your changed
text
FONT can also be used to change the size of your text or particular passage. Designations for size go from -2 to +7, smallest to largest respectively. Example:
<FONT SIZE="+7">Try it like this</FONT>
would look like this:
Try it like this
Now try puting the two together:
<FONT COLOR="red" SIZE="+7">Try it like this</FONT>
would look like this:
Try it like this
Here in order from smallest to largest are the different sizes:
this is -2
this is -1
this is 0
this is +1
this is +2
this is +3
this is +4
this is +5
this is +6
this is +7
There is another way to change size which I find easier to use, and those are HEADERS signified by <H>.They are sized from 1 to 6, with 1 being largest and 6 being smallest.They are written so:
<H1>try it like this</H1>
which looks like:
Notice again you must use the ending statement </H1>. The different sizes in order from smallest to largest:
<FONT COLOR="red">
<H1>try this</H1></FONT>
which would look like this:
try this
The nice thing about headers is they
automatically do two things: give your sentence
or word a bold face and set a line break, which
will be discussed later. So why use font?
Usually,
I don't, but it does offer a greater range of
sizes. One other thing you can do with just font
size is:
ISN'T THIS NEAT!!!
You cannot do this with headers because the ending </H> tag automatically take you to the next line. All you have to do is designate a <FONT SIZE> for each letter. I wrote the above example like this:
<FONT SIZE="+7">I</FONT><FONT SIZE="+4">S</FONT><FONT SIZE="+3">N'</FONT><FONT SIZE="+2">T</FONT> <FONT SIZE="+1">T</FONT><FONT SIZE="0">H</FONT><FONT SIZE="-1">I</FONT><FONT SIZE="-2">S</FONT> <FONT SIZE="-1">N</FONT><FONT SIZE="0">E</FONT><FONT SIZE="+1">A</FONT><FONT SIZE="+2">T</FONT><FONT SIZE="+3">!</FONT><FONT SIZE="+4">!</FONT><FONT SIZE="+5">!</FONT>
<i>this is italics</i>
<u>this is underline</u>
<b>this is bold</b>
<tt>this is typewriter
text</tt>
Of course you may use these singularly or in any combination you want:
<i><u><b><tt>this is all four</tt></b></u>< /i>
Remember to use the ending statement </> or all Text after will be in whatever style you chose to use for that sentence or word. The second style is called logical and is what I use. This lets a browser pick a style of it's own if say, italics, can't be read.
<EM>this most often causes
italics</EM>
<STRONG>this most often causes
bold</STRONG>
<CODE>This most often causes computer
code text
</CODE>
Now using the tricks and tools we have learned so far let's build the first part of your page.Since the TITLE command discussed earlier does not put a title at the top of your actual page we will make one using STYLE, FONT, and HEADERS and include some text examples:
<BODY>
<BODY BACKGROUND="your URL" TEXT="black or your
color" LINK="your color" VLINK="your color"
ALINK="your color>
<EM>
<FONT COLOR="red">
<H1>WELCOME TO MY PAGE</H1>
</FONT></EM>
This would be regular text
<STRONG>which you could make just
bold</STRONG>
<CODE><FONT COLOR="green">or put it in
computer code colored
green</FONT></CODE>
<EM><H3>or italicize it and use headers,
like in your title</H3></EM>
</BODY>
</HTML>
which would look like this:
WELCOME TO MY
PAGE
This would be regular text
which you could make just
bold
or put it in computer
code colored green
or italicize it and use headers, like in
your title
I can write my text like this. With no break, this sentence does not begin on the next line.
Or I can write my text like this
With a break,
this sentence begins on the next line.
To do this you just add the <BR> command at the end of each sentence you want to finish on a particular line:
or I can write my text like this.<BR>
With a break, this sentence begins on the next
line.
Which is shown in the second example above. Again you do not need an ending </BR>, or for that matter </P>, command. <P>, or paragraph break, will leave an empty space between lines of text:
using <P> will start a new paragraph
leaving a line of space>
The <P> command will leave a line of space wherever you see fit. When using HEADERS, this will happen automatically so you do not need to use <BR> or <P> with them.
<PRE> This is how I wrote it I did not use <P> I did not use<BR> </PRE>
which shows up like this:
This is how I wrote it I did not use <P> I did not use <BR>Does this mean everytime I want to center or align something I have to use PRE? No!!!
to align right or left:
Alignment can be used for text, images, headers,links, and embedded sounds. Now let's add our alignments and line breaks into our sequence:
<BODY>
<BODY BACKGROUND="http:// your URL" TEXT="your
color" LINK="your color" VLINK="your color"
ALINK="your color">
<CENTER>
<EM>
<FONT COLOR="red">
<H1>WELCOME TO MY PAGE</H1>
</FONT>
<EM>
<CENTER>
This would be regular text<BR>
<ALIGN="left">
<STRONG>
which you could make bold and align
left<BR>
</STRONG>
</ALIGN>
<ALIGN="right">
<CODE>
<FONT COLOR="green">
or put in computer code colored green and align
right<BR>
</FONT>
</CODE>
</ALIGN>
<CENTER>
<EM>
<H3>or italicize it, using the headers and
centering it</H3>
</EM>
</CENTER>
</BODY>
</HTML>
which would look like this:
or put
it in computer code colored green and align
right
There are other tricks that can be used with MARQUEE. The first is the behavior command. By writing:
<MARQUEE BEHAVIOR=alternate$gtThis makes it scroll back and forth</MARQUEE>
you will get this effect:
Another BEHAVIOR is slide. This will cause the words to scroll across and stop at the oppisite side:
<MARQUEE BEHAVIOR=slide>like this!</MARQUEE>
which would look like:
What direction a MARQUEE scrolls can also be determined:
which is written like:
<MARQUEE DIRECTION=right or left>pick a irection</MARQUEE>
You can also put a bgcolor command on the marquee, effectively turning it into a banner:
<MARQUEE BGCOLOR=red>this looks rather cool</MARQUEE>
which looks like:
Last but not least you can also determine how much of the page you wish to scroll across. This is done using WIDTH as a %:
<MARQUEE WIDTH=50%>this is a short scroll</MARQUEE>
would look like:
these diffrrent attributes may be used alone or in combinations and the Marquee centered:
<SHADOW>this is the shadow effect</SHADOW>
which looks like:
<OL>
<LI>unordered list
<LI>ordered list
<LI>defined list
</LI>
</OL>
and look like this:
<DL>
<DT>unordered list
<DD>a list that is not numeric
<DT>ordered list
<DD>a list that is numeric
<DT>defined list
<DD>a list of definitions
</DD>
</DT>
</DL>
which would look like this: