Web Hosting Services by Professional Website Hosting Dotservant Register Domain Name At $15/yr
 

To keep things a little cleaner I am only going to write what is in the <BODY> tags. I will omit the <HTML>, <HEAD> & <TITLE> tags. Needless to say, keep these in your document.

<BODY>
</BODY>

Type something really cool.

<BODY>
Something really cool
</BODY>


Something really cool

Whenever you make a change to your document, just save it, then hit the Reload button on your browser. In some instances just hitting the reload button doesn't quite do the trick... in that case hit Reload while holding down the SHIFT key.


I think the first thing we are going to learn is how to change background colors.

<BODY BGCOLOR="#CCFFCC">
Something really cool
</BODY>


Something really cool

CCFFCC is computerese for light green. Here are a few more.

The topic of colors and browsers is rather interesting. Some other time, I encourage you to come back to this section and learn a little about "web safe colors".


You can specify a background image instead. (Note, the image should be in the same folder as your HTML file. More on this below.)

<BODY BACKGROUND="swirlies.gif">
Something really cool
</BODY>



Here's the background image

In order for the image to show up, the browser has to be able to find it. For now, we want the image to be in the same folder as your HTML document (page1.html). The easiest way to do this is to right click on the swirlies image above and choose Save Image As (or some variant thereof). Browse to wherever you put page1.html and save the image there. Later we'll get into this stuff in a little more detail.


It's probably pretty obvious that the image is tiled. If you use a long skinny image you can get an effect like this...

<BODY BACKGROUND="bluebar.gif">
Something really cool
</BODY>



Here's the background image

(It's actually 1700x4, but I have compressed it here to 560x4 so it will fit on everyones screen)>

 
FAQ: I've seen pages where the background is fixed and the page just scrolls over it. How can I do that?

A: Simple... add BGPROPERTIES=FIXED to the BODY tag...

<BODY BACKGROUND="mybackground.gif" BGPROPERTIES=FIXED>

Keep in mind this little doodad is Internet Explorer specific. That is, only people using Internet Explorer or IE based browsers will be able to see it. Here is an example.

<< BACK         NEXT >>

 
PHP hosting
PHP Hosting
php5 hosting
PHP5 Hosting
ruby on rails hosting
Ruby on Rails Hosting
mysql hosting
PHP MySQL Hosting
mysql5 hosting
PHP5 MySQL5 Hosting
cpanel hosting
Cpanel Hosting
linux hosting
Linux Hosting
centos linux hosting
Affordable web hosting
frontpage hosting
Business Web Hosting
Website Hosting  /   Tutorial  /   Basic HTML Tutorial  /  
Multiple Domain Hosting  /   Domain Hosting  /   Wordpress Hosting  /   Joomla Hosting  /   Drupal Hosting  /   Mambo Hosting  /   Oscommerce Hosting  /   Dreamweaver Hosting  /  
Web Host  /   Web Space  /   Web Hosting  /   Website Hosting  /   Webhosting  /   Simple Shared Hosting  /   Easy Hosting  /   Quality Email Hosting  /   Web Page Hosting  /   Web Hosting Services  /  
PHP Hosting  /   MySQL Hosting  /   PHP5 Hosting  /   MySQL5 Hosting  /   Cpanel Hosting  /   PHP MySQL Hosting  /   PHP5 MySQL5 Hosting  /   Ruby on Rails Hosting  /  
Professional Website Hosting Affordable Web Hosting Services
Copyright 2000-2008 All Rights Reserved