As promised in my second html tutorial, this tutorial will teach how to change the color of fonts and backgrounds. I will be using notepad for this tutorial.
To change the background color is rather simple. You want the color yellow for your background just add <body bgcolor="yellow"> to your code. This is in the place of the standard <body> opening tag but it has the same closing tag of </body>. For example:
<html>
<head>
<title> </title>
</head>
<body bgcolor="yellow">
</body>
</html>
Now, if you want to change the color of font, you have to use a different code: <font color="white">Hello!</font>. Note: the color has to have the quotation marks around them. Depending upon which text you want to change the color of the code may go in between the paragraph tags <p></p> or heading tags <h1></h1> or wherever. For example:
<html>
<head>
<title> </title>
</head>
<font color="blue">yay</font>
</body>
</html>
Quick example to try:
<html>
<head>
<title>Hi</title>
</head>
<body bgcolor="blue">
<h1><u>I am awesome</u></h1>
<h1>Still awesome</h1>
<p><b><font color="white">yay</b></p></font>
<h2>booyah</h2>
<p><i>end</i></p>
</body>
</html>
Remember to save your file with a .html extension. If you want to edit an html page open it up with notepad. That concludes this tutorial.
I apologize to anyone whose been following my articles or tutorials. College has been insane lately in terms of work. Essays left, exams and quizes right, and projects in the middle. I maxed out my classes this quarter so I didn't have any time to finish my work up. I'll try and get another fan fic up and maybe another html tutorial but I am not promising anything till this quarter ends...
Dont worry :P Just make sure its a good upload :P