This Page Was Last Updated On December 2, 1996
Tools INTRO Basic HTML More HTML JavaScript
Tools INTRO Basic HTML More HTML JavaScript
It is important to note that HTML is not CaSE SenSITivE, it also ignores extra spaces and carriage returns, the same document could look like this:<HTML> <HEAD> <TITLE>Joe Tool's Home Page</TITLE> </HEAD> <BODY> --- stuff on the page </BODY> </HTML>
... as my code usually does, but it's less readable when you want to fix a problem or make changes... and you will want to.<html><HEAD><TITLE> Joe Tool's Home Page</title></HEAD><BODY> --- stuff on the page </BoDy></HTML>
Tools INTRO Basic HTML More HTML JavaScript
Boring? Yes It Is! You have to, and I insist on this, SPICE it up a bit.<BODY> This is some text. </BODY>
<B> <I> <U> <BIG> <SMALL> <SUP> <SUB> <S>
These tags allow you to present your text in Bold, Italic, UnderLined, Big, Small, SuperScript, SubScript and<Hn>Strikeout
You can of course, mix them together:<i><sup><u>Italic SuperScript Underlined <s>Strikeout</s></u><sup></i>Looks like this: Italic SuperScript UnderlinedStrikeoutNotice how I close the tags in the reverse order that they are opened, they can actually be closed in any order, but most browsers will process the formatting faster if they are closed in this fashion.
Header formatted text comes in 6 sizes (6 being the smallest, which of course is not consistent with the font size tag explained below) and can be aligned left, centre or right.<BLOCKQUOTE>
Header tags must start on a new line, or it gets ignored.
<h3 align=center>Nice Paragraph Title Thingy</h3> <h2 align=left>Some Title</h2>Nice Paragraph Title Thingy
Some Title
All text between the <blockquote></blockquote> tags are double indented (left and right), just like this particular piece of text.<PRE>
As I mentioned in the INTRO section, HTML ignores extra spaces and carriage returns... unless you use the <pre></pre> tags. All text between these tags is formatted exactly as typed in a mono-spaced font. You may encounter difficulty with this tag, so I suggest (it works for me) that you put the opening and closing tag all by itself on it's own line. Don't worry, it won't get lonely.<CENTER>
This centers all text and images on the page that exist between the tags. If I have to explain it any further, may I suggest a Sesame Street book.
This annoying tag speaks for itself.<HR>
Horizontal Rule does not require a closing tag, it simply draws a line across the page. Pretty dull, let's play with it.<FONT><hr align=right size=6 width="75%" noshade>
ALIGNMENT can be left, right or center; SIZE and WIDTH are measured in pixels, alternatively WIDTH can be expressed as a percentage of the width of the browser window.
This tag is used to change the font, colour and size of text. You should note that if you select a font that the user doesn't have installed... well... they aren't going to see that font, are they? Likewise, not everyone is in 1024 x 768 16-bit colour (although they really should try it)<BODY>
<font face="arial">Some Stuff In Arial</font><font face="freakyratt, verdana, freakymandy, arial">Some sort of text</font> Like I mentioned, not everyone has the same fonts as you. You can add alternative fonts, they will see the first one in the list that they have.<font color="#dd2216">This Where That Colour Picker Comes In</font><font size="3">Seven Sizes To <font size="+3">Choose From</font> (1 to 7)</font><font face="courier new" size="+2" color="#90125f"> You can also combine attributes</font>Netscape has over 120 colour names that can be used instead of the hexadecimal notation, ie: "black" (#000000), "white" (#ffffff), "aqua" (#00ffff), "crimson" (dc143c), "lightblue" (#add8e6), "pink" (#ffc0cb), "papayawhip" (ffefd5) and a hell of alot more, I'm not going to type 'em all out, didn't you read? There's over 120!
Hey! Wait a minute, I've seen this tag before!
Yeah, well, I didn't explain it. If you go changing the colour of the text... you might want to change the background colour too, right? Of course I'm right!<BODY BGCOLOR="#111111"> --- stuff on the page </BODY>You can also change the default colours of the text and links and/or have a background image:<body background="nakedbabe.jpg" text="red" link="blue" alink="white" vlink="purple"> --- stuff on the page </body>
As I mentioned before (go check if you don't believe me), the browser will ignore extra spaces and line feeds (unless you use the <PRE> tag).
Would look like this:<b><u>Example</u></b> This is a demonstration. A pretty quick one too.
ExampleThis is a demonstration.A pretty quick one too.To properly format it, you need the <P> (paragraph) and <BR> (line break) tags. For extra spaces you can use a space character and then alternately like this:
Which looks like this:<b><u>Example</u></b> <p> This is a demonstration.<br> A pretty quick one too.<br>
ExampleOther special characters are < (<) which is used extensively in this document, > (>), " ("), ® (®), © (©).This is a demonstration.
A pretty quick one too.
Alright, now that you have all that snazzy text all over the place, you're gonna need some
to go with it.
Most browsers support GIF
and JPG image formats. Although JPEGs often compress to a
smaller size (this saves space and transmits faster), GIFs can be animated (this is
merely cool), Can you see an Animated GIF on this page? I bet you can.
Who let Mr. Rogers in here?
Anyway, to slap an image onto your webpage, just do this:
Note that <IMG> has no closing tag.<IMG SRC="IMAGES/MY_STUPID.GIF" WIDTH=120 HEIGHT=55>
There you go. That's absolutely all that you need to know. Really. I swear.
The rest of the stuff is simply how to make your pages better.
Tools INTRO Basic HTML More HTML JavaScript
How? Simple, that section has an anchor like this:<a href="#thebody">Goes to the section on the BODY tag</a>
Want to go somewhere else? Another Page Of Mine<a name="thebody"></a>
Want to go to someone else's page? My Former Neighbour<a href="stuff/dragon.html">Another Page Of Mine</a>
Of course you can make an image a hyperlink:<a href="http://www.geocities.com/sunsetstrip/alley/4467">My Former Neighbour</a>
Note, you can use both text and image if you really want to.<a href="stuff/dragon.html"> <img src="happy1.gif" width=22 height=22 align=absmiddle border=6> </a>
Or you could use TARGET="_blank" to open in a new window.<a href="stuff/dragon.html" target="_top">Another Page Of Mine</a>
Right, if you notice instead of using a whole bunch of images and anchor tags for my
hyperlinks to different pages, I use ONE image.
This means less files in the directory and faster page loading and less space taken and...
Shut Up And Tell Me How It's Done?
Okay, first you make the image (no shit).
Next, you stick it on the page like this:
Then you make a map of that image like this:<img src="im/poptarts_im.gif" usemap="#poptarts image map" width=419, height=68 border=0>
Pretty simple huh? You can actually put the image anywhere on the page, as many times as you wish, but you only define the map once.<map name="poptarts image map"> <area shape=circle coords="28,33,32" href="vermin.html"> <area shape=circle coords="91,33,32" href="poptarts.html"> </map>
What else? Uhm... e-mail links! Mail To Ratt
You don't have to specify a title, and you can use an image if you want to<a href="mailto:user@domain" title="Mail About...">Mail To Ratt</a>
Lists & Tables
To make a list of things:
presents you with this:<ul> <li>First Item <li>Second Item <li>Third Item</ul>
Optionally you can specify the type of bullets with <UL TYPE=SQUARE> (or DISC or CIRCLE). You can also specify TYPE in the line item tag <LI TYPE=SQUARE> (all subsequent items will follow that type).
- First Item
- Second Item
- Third Item
looks like this:<ol><li>Words beginning with "A" <ul> <li type=disc> Apple <li type=square> Asynchronous <li> Active </ul> <li type=a>Words beginning with "B" <ul><li> But</ul> <li type=i value=6>Words beginning with "C"<ul> <li> Child<li type=square>Chewy </ul></ol>
You can also build definition lists, like this:
<dl> <dt>First Definition Term <dd>Some Stuff Or Other<dd>More Stuff <dt>Another Definition Term <dd>Even More Stuff</dl>
<table width="500" bgcolor="#000000" border="3"> <tr> <td>First Row, First Cell</td> <td>Second Cell</td></tr> <tr> <td>Second Row, First Cell</td> <td bgcolor="#111155" align=center>More Stuff</td> </tr></table>
| First Row, First Cell | Second Cell |
| Second Row, First Cell | More Stuff |
There is actually alot more that can be done with tables, but it's alot of detail and I'm too damn lazy... (although there are ways to cheat, I'm not going to teach you... but I do it myself... that's a hint)
Frames & Forms
Okay, FRAMES are created with the <FRAMESET></FRAMESET>
tags. In a FRAMES document, these the
<BODY></BODY> tags. Attributes that can be used within
<FRAMESET> are BORDER (in pixels), BORDERCOLOR, COLS and ROWS.
The Lair
uses the following FRAME document (or at least it used to, I may have altered it slightly... I do that):
The ROWS attribute specifies how many pixels high the frames are, <FRAMESET ROWS="60,80,*"> would create 3 frames, 60 pixels, 80 pixels and how many are left (the asterisk is a good idea 'coz you have no idea what size window anybody has).<HTML><HEAD> <TITLE>Ratt Salad's Lair</TITLE> </HEAD> <frameset rows="50,*" border="2"> <frame src="rsl2.html" marginwidth="0" scrolling="no" noresize> <frame src="vermin.html" name="Vermin"> </frameset> </HTML>
I left the <FORM> tag until last. Not because FORMS are difficult,
in fact they're very easy, I just can't seem to explain them without writing a screenplay,
so, ladies... Click Here and take a look at a page that demonstrates all you
really need to know about FORMS. I also used simple TABLES and LISTS on this page.
Guys, do not click there, Click Here instead.
Girls, feel free to fill out the application and submit it.
![]()
Tools INTRO Basic HTML More HTML JavaScript