|
| Before you start this leasson I just want to tell you that when ever you feel it is too easy for you, please fast read it or move on to the next leason. You should remember that we will put in the body tag anything that we want to appear. The last example showed you how to create a homepage and from now on every time you start making a homepage you must write the following as you have learned: <html> <head> <title>My First Page</title> </head> <body> This is inside the body and everthing goes here except the title </body> </html>You have already learned how to make the above homepage and if you view it, it shall say "this is inside the body and everthing goes here except the title". You noticed you can't really change the color of the font or the background color. To change the color of a word or a paragraph you will need to use the tage <font color="red"> color me red</font>This is how to color fonts the three words that say "color me red" are being surounded the the tag <font color="red"> </font> and you noticed where it says "red" inside the tag you can also put anything you want here, more importantly you can put here the color cord. for example the cord for red is #ff0000 so our tag will look like this <font color="#ff0000"> color me red</font>all colors have cords and perhaps there are million different color cords, but my following table discribes most important color cords incase you want to practice using them now:
Now that you can change the color of your font the question is how do we change our background color? The background color of any homepage will stay default(white color usually) unless we define it to be specific color like yellow for some unknown reasons. We change the color of our homepage from the body tag itself. <body bgcolor="#ffff00"></body>This makes the background the color we choose in this case it is yellow. This also brings up some other functions we can add to the body tag before we start a homepage. <body text="#ffff00"></body>You use the above example if you want to specify the color you want your fonts to be in you homepage. <body link="#ffff00"></body>if you want to set the color of your link which we will discuss about it in the next chapters. The following table discribes some very important tags that you may need when writing any homepage. so you may want to practice to get use to them.
Listing: Being able to list words/points is very important sometimes specially when writing a resume and this is how you can do it. <ul> <li>blue elephant</li> <li>stationary truck passed me</li> </ul>and this is how that look like:
Lesson three |