html basix - html tutorial for the beginner. Html code generators including colored scrollbar, colored link mouseover, meta tag generator, list generator,forms generator, email form generator, popup window generator, tables generator, javascript banner rotator generator, link status hider, form styles generator, bookmark page generator, set homepage code generator, javascript alert generator, htaccess images generator, frames generator and mouse trails generator.




Htaccess code generators Code generators Tutorials
Google
Web
HTML Basix


Free Websites
Html Tools
Free Clipart
Tell a Friend Scripts

Online and offline code generators



HTMLBasix fully recommends Hostmonster as your host of choice.
Masses of space, transfer (yes, that's 15 TB!!!), great uptime. All for a VERY affordable price!
Introduction  1  2  3  4  5  6  7  8  9  10  Home


Lesson 3

Adding some colour to your words...

The tag you use to manipulate text is <font>. Just this tag alone will do nothing, we need to add a value to it. Let's make your text red. As you have found previously, you start the area concerned with a tag. What you need to do is BEFORE the sentence you typed in, and AFTER the <body> tag, because this is all part of the body...type in <font color="red">. Now save your notepad and refresh your html page. You should now have red text!!!

As you've used an opening tag <font>, you need to finish it. So, after the end of your sentence type in </font>. To give an example of how this works, try putting the </font> in the middle of your sentence instead of the end. Save and refresh your page, and you will be able to see why it's important that you close the tags where you're supposed to. It's not hard to do, but you need to know that it's important.

To see what your notepad is supposed to be looking like, click here.


Have a little play. Change the colour from red to green, or yellow, or blue. Refresh your page each time to see the results. Pretty easy, isn't it?


Using more colours...

You've learnt how to make red text, as well as green, yellow etc...but what if you don't want one of those basic colours? What if you want your text to be this shade of green or this shade of red?
This is where a colour chart comes into play, which lists all of the colours you can use. Click here for the colour chart. All you do to use any of the colours on the colour chart is put the colour # in instead of the colour name. For example, you would type in "<font color="#FF99CC">" to get this colour.


Get creative with your colour!!

How about something like this?

Quite simple really...you just need to specify the font colour of each letter. Remember to 'close' the font colour of EACH letter with "</font>". Click here to see what the coding looks like for this.

You've got the hang of colouring text. Now for text styles, sizes, stuff like that in lesson 4!

Introduction  1  2  3  4  5  6  7  8  9  10  Home




Site Stats     
VisitorsPageviews
Total: 3,812,506 Total: 11,427,738
Today: 2,047 Today: 4,561
Yesterday: 2,761 Yesterday: 6,185
Past Month: 85,591 Past Month: 191,735

3,273 visitors in the last 24 hours
This page has been visited 39,190 times
There are currently 17 visitors online
click to see where
most people online at once:
77 visitors on 04/05/2007
   You beaut











This site is © HTML Basix 2003 - 2006