Neat HTML Codes

 

This is handy, if you have a rather vertical page, such as this one...  Most of the time, you have divided your site into nice little sections so the viewer can read all your great information.  But what if they only want one thing?  What if they don't want the next thing in line and they want to go back to your navigation area?   For the most part, lots of scrolling annoys folks.  So, type this"

<a href="whatever">Link down</a>

then place this:

<a name="#whatever">Where you want it to go</a>

[Top]

If you view source, you'll see I use a lot of table to organize this information.   It's a great way to make things line up, sing, dance, whatever!  Just, be careful...  you can get "table happy"...  this happens when folks start putting in visible borders where they aren't needed, weird graphics as backgrounds for each individual cell, that sort of thing...  don't, it's silly...

Here's the basic two row, two column table.  I have the border set to zero, if you really want one that outlines your table and each cell of the table, set it to a number 1 - 10

stuff you want
in the table
New column here
New row here another spot to put stuff

Type:

 

<div align="center"><center><table border="0" cellpadding="4" cellspacing="4" width="90%">

<tr>

<td width="50%">stuff you want in the table</td>

<td width="50%">New column here</td>

</tr>

<tr>

<td width="50%">New row here</td>

<td width="50%">another spot to put stuff</td>

</tr>

</table>

</center>

[Top]

I have pretty mixed feelings about this subject.  If you absolutely MUST make noise on your page, then DO NOT  make it a  background sound!  I cannot emphasize it enough!  There's nothing more irritating than a song you can't stand, and no way to turn it off...  You don't want to scare folks away, do you

Another thing,  try to never use .wav files, they are generally HUGE!  Use .mid files (midi).

Well, if you must...

This will create a visible player, that will automatically load and start playing when the page is entered, and the visitor can turn if off if they want. 

Type:


<OBJECT ID=Cresendo
CLASSID="clid:0FC6BF2B-E16A-11CF-AB2E-0080AD08A326"
height=55
width=200>
<PARAM NAME="Song" VALUE="whatever.mid">
<EMBED TYPE="music/crescendo"
SONG="whatever.mid"
PLUGINSPAGE="http://www.liveupdate.com/dl.html"
HEIGHT=55
WIDTH=200>
</OBJECT><BR>

Or, even simpler,  treat the sound like a hyperlink.  Like this:

<a href="whatever.mid">Whatever the music is</a>

Like this: God Bless America

[Top]

This is very similar to changing the font size...

Type:

<font color="blue"> Blue Text</font>

Blue Text

You can basically use any font you know the name of.  Be aware though, if your viewer does NOT have this font on his or her system, they will never, ever, ever see it..

This bit of code does the whole deal, sets the size, type face, and color, you can string them together, but notic e that you only need one </font> to close the line

Type:

<font size="4" face="comic sans ms" color="red">Red Text</font>

Red Text

[Top]

This is handy to know...  just use your own name and whatever the current date is...

Type:

&#169 Lisa Alekna 11/13/98

© Lisa Alekna 11/13/98

[Top]

You format the background at the beginning of the <BODY> This will set the pages default values for the background, text, link colors, active link colors, and visited link colors.

It would normally look like this:

<body text="#000080" alink="#008080" bgcolor="#FFFFFF" link="#0000FF" vlink="#FF00FF">

However, if you are using a graphic, for the background, and you want the text to scroll over it, like this page is doing, type this:

<body text="#000080" alink="#008080" bgcolor="#FFFFFF" link="#0000FF" vlink="#FF00FF" background="greenflowers.jpg" bgproperties="fixed">

(This does not work in Netscape, but it won't mess it up, either...)

[Top]

This is a handy trick in two instances - if you've moved your page, or if you have a "front door" page, and want to send the viewer into the site after a couple of seconds.  This goes in the <HEAD> area.

Type:

<META HTTP-EQUIV="refresh" CONTENT="60; URL=http://whatever.htm">

The [60] is seconds the front page will be visible.  If this is a page you moved, make it about [10] seconds.

Also remember to put a text link on the page, in case the person has an old browser that doesn't support this.

[Top]

 

Back Home