t0ph4x0r Lieutenant
Number of posts : 6 Age : 34 ranking : 5775 forum activity : 0 Registration date : 2009-02-01
| Subject: HTML tutorial #1- base of a website Sun Feb 01, 2009 7:50 am | |
| Hello, my name is Cole Snydle. In my tutorials i will be using a mixture of PHP and HTML. One of my favorite hosts (a host is what you "host" your website on) is http://www.freehostia.com/. The good thing about Freehostia is that you can code from the site and you can host PHP and MySql. now just open up "Notepad", always, and we will begin the tutorial.So lets start with a background color - Code:
-
<html> <body> <BODY bgcolor="black"> </body> </html>
Now there are many colors that you can use (210 i think) but here are the color names (what you put in the quotes in) - Code:
-
<BODY bgcolor="black">
- "black" - black
- "grey" - grey
- "maroon" - light purple
- "green" - dark green
- "blue" - a darkish blue
- "cyan" - cyan, but if you dont know that one its light light blue
- "red" - red
- "purple" - a darkish purple
Now lets move on to a Heading for your page - Code:
-
<html> <body> <BODY bgcolor="black"> <h1>HTML tutorial #1</h1> </body> <html>
Notice that I end every tag (a tag is the thing in between the <brackets>) in a /slash/ and that i put every tag in between the code: - Code:
-
<html> <body> </body> </html>
now shall we make that header colored? - Code:
-
<html> <body> <BODY bgcolor="black"> <h1><font color="red">HTML tutorial #1</font></h1> </body> <html>
There you are, a website with a heading. | |
|