HTML codes for applying Backgrounds

Changing background colors is very simple. You need two things:
A command that alerts the browser (like NetScape or IE) that the color is going to be changed and a color code.
     1. The command for changing any background item immediately follows the <TITLE> and </TITLE> commands. To change just the background color, enter this command;

<BODY BGCOLOR="######">

2. Now you need a color code. This code will tell the browser what color to use. The 6 digit code will go in place of the "######" in the above command. The 6 digits are called a Hex Code.

The codes are not very user friendly and you need a CHART to let you know what code makes what color. The code for a white background will look like this:

<BODY BGCOLOR="#FFFFFF">

How to use gif,jpg,etc as backgrounds:
Again, all background commands come right after the <TITLE> command. The command is:

<BODY BACKGROUND="image.gif">
It looks nice to put a color command before the BODY BACKGROUND command. Then while your background image is loading you still have a background color, which gives your page a nice touch.

The code for that is as follows:

<BODY BGCOLOR="#FFFFFF" BACKGROUND="image.gif">

Font Face HTML codes

This is regular font:

<FONT FACE="arial">This is arial font</FONT>

<FONT FACE="courier">This is courier font</FONT>

<FONT FACE="modern">This is modern font</FONT>

<FONT FACE="symbol">This is symbol font</FONT>
(These are pretty silly.)

<FONT FACE="wingdings">This is wingdings font</FONT>
(As are these.)


Text Color HTML codes

To change text colors you also need the hex code.

<TEXT="######"> - This shows the full page text color.
<LINK="######"> - This shows the color of the links on your page.
<ALINK="######"> - This shows the color the link will flash when clicked upon.
<VLINK="######"> - This shows the colors of the links after they have been visited.


These commands come right the <TITLE> commands. Again, in that position they affect everything on the page. Also... place them all together inside the same command along with any background commands. Something like this:

< BODY BGCOLOR="######" TEXT="######" LINK="######" VLINK="######">

Make sure to place a space between each command, and be sure to enclose it inside of quotation marks. Like so:

<VLINK="#FFFFFF">


Putting Music on your page

To put a music link on your page so you can click on it to sample it or download you use this HTML:

<A HREF="http://www.yoursite.com/filename.wav">Click Here</A>

To put sound on your page use this HTML use both sets of HTML so all browsers can hear the file.

<EMBED SRC="peanuts.mid" AUTOSTART=TRUE LOOP=TRUE WIDTH=145 HEIGHT=55 ALIGN="CENTER">
</EMBED>

<BGSOUND SRC="champion.mid">

You are the person to visit Pookie's Palace.


|Pookie's Palace|Midi's for Kids|HTML Resources|Win My Award| |Sign Guestbook|View Guestbook|Backgrounds





Get your own Free Home Page