HTML Part II
Home Back Course Listing Connect Glossary About Us/Credits

 

Back
HTML Part III

Sign up for the Newsletter here!

<UL>
This list:

dogs
cats
horses

Would read like this in the HTML code:
<UL>
<LI> dogs
<LI> cats
<LI> horses
</UL>

<OL>
This list:
 

  1. 1. Espresso
  2. 2. Cappacino
  3. 3. Late' Mocha

Would read like this in HTML Code:

<OL>
<LI> Espresso
<LI> Cappuccino
<LI> Late' Mocha
</OL>

<HR>

A line, or, horizontal rule, may look something like this:

The HTML Tag defines the height and width of the line. You can edit the variables manually. However, HTML Editors allow you to resize it, just as you would a graphic.
This Horizontal Rule/Line, looks like this on the inside:

<HR SIZE=10 WIDTH="90%">

NOTE: The "90%" is talking about how much of the window space is used.

<B>

bold text
 
<I>

italic text

<FONT SIZE=>

This tells the computer what font size to use. The HTML Editors let you determine this like a word processor, but here's what's going on on the inside:

<FONT SIZE=+1>

<FONT SIZE=+2>

<FONT SIZE=+3>

<FONT SIZE=+4>

<FONT COLOR="#FF6600">

This tells the computer what color of text to use. The weird numbers and letters define a certain color. For intance the above code defines this color. Check out the colors section to lern more about this.

<FONT FACE=

This determines the font type of your text. Some computers and browsers don't allow different fonts, so you have to be careful about what fonts you use....

<FONT FACE="Funstuff">
<FONT FACE="Comic Sans MS">
<FONT FACE="Courier New,Courier">


<A HREF=

This defines a link. For instance this link: ZJAM. is displayed like this in the code:

<A HREF="http://www.ZJAM.com">ZJAM</A>

Also, links can go to a local page, like this. Which looks like this:

<A HREF="java2.htm">this</A>

Links can also link to specific file, like this little tune.

<A HREF="Song_012.mid">little tune</A>

Also you can link to certain parts, or targets in a document. For instance, this can driect you to the top of this section. What I did, is right above the text that reads "<A HREF=" I stuck in a target. Here's what the HTML Target Tag looks like:

<A NAME="hewooppl"></A>

And here's the inside story:

<A HREF="#hewooppl">this</a>

<mailto:

This handy little tag let's you link automatically to a e-mail addres. Try it!
Here's what's going on:

<mailto:"imahacker@techie.com">

<BODY TEXT="#300C18" BGCOLOR="#FFFFFF" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000">

These are preset option, saying what colors text, Back ground colors, link colors, visited link colors, and active link colors. These can be reset in the preference options in your HTML editor. To find out what's up with the weird numbers and letters, look at this.

<TABLE

Tables (also referred to as frames), can add a special pazaz to a web site, with taking forever to load. Our web site is made up of a series of color, boxed into frames - works well, don't you think? We hid the borders, which look more proffesional, IMHO, then tables with borders. However, for the sake of this exercise, the border shows how it works. Here's a table with a border:
 
 

 

 

Here's the tag:

<TABLE BORDER COLS=2 WIDTH="100%" >

This tag tells the computer to generate a table, with a border, with 2 Columns, and a width that takes up 100% of the window space. (Streching from the left side of the screen to the right.

Here's a table without a border, we added 3 columns, and added a background color, so you could see how the code works:
 
 

Here is one column

Here is one column

Here is one column

 Here's the code:

<TABLE COLS=3 WIDTH="100%" >
<TR>
<TD BGCOLOR="#8000FF">
<CENTER><FONT FACE="Arial,Helvetica"><FONT SIZE=+2>Here is one column</FONT></FONT></CENTER>
</TD>

<TD BGCOLOR="#33FF33">
<CENTER><FONT FACE="Arial,Helvetica"><FONT SIZE=+2>Here is one column</FONT></FONT></CENTER>
</TD>

<TD BGCOLOR="#FF6600">
<CENTER><FONT FACE="Arial,Helvetica"><FONT SIZE=+2>Here is one column</FONT></FONT></CENTER>
</TD>
</TR>
</TABLE>

Here's the code explained:

<TABLE COLS=3 WIDTH="100%" >
<TR>
It's telling the computer to generate a table with 3 columns, and a widthe of 100%.
<TD BGCOLOR="#8000FF">
This is the first column, with color settings, set to purple.
<CENTER>
This is text alignment to the center.
<FONT FACE="Arial,Helvetica">
This is tect setting - telling the computer what font to use.
<FONT SIZE=+2>
Here is the font size.
Here is one column
Here's what it says in Column one.
</FONT>
</FONT>
</CENTER>
</TD>
These series of tags end the font color, font size, alignment and column settings.

The following repeat the process, except this time, the background is green.
<TD BGCOLOR="#33FF33">
<CENTER><FONT FACE="Arial,Helvetica"><FONT SIZE=+2>Here is one column</FONT></FONT></CENTER>
</TD>

Here we go repeating the process again, except the column is orange.
<TD BGCOLOR="#FF6600">
<CENTER><FONT FACE="Arial,Helvetica"><FONT SIZE=+2>Here is one column</FONT></FONT></CENTER>
</TD>

The following are the ending tags of the code, that end the column properties, and table properties.
</TR>
</TABLE>  

 

 

Back to Top of Page.

<espaņol> <french> <hebrew> <german> <russian> <italian> <portuguese> <arabic> <japaneese> <chinese> <korean>                                                                                  

 

Copyright Thinkquest Team C0110523: Jordan, Maegan, and Chris. Please contact us if you wish to use any part of this website Visit Thinkquest at thinkquest.org

Click Here to Sign our Guestbook!