PGF Gamers
Hi, and thanks for visiting =D

Login to post in forums and become more than a member!

Please wait a moment for the chatbox to load ;D


Where the fun begins!
 
Homedead forum =(FAQSearchMemberlistUsergroupsRegisterLog in
!!!!I am considering a full site overhaul to re-do everything. I will discuss with the other staff. If it happens the forum may go down for a day or two-Trevor!!!!

Share | 
 

 HTML tutorial #1- base of a website

View previous topic View next topic Go down 
AuthorMessage
t0ph4x0r
Lieutenant
Lieutenant


Number of posts : 6
Age : 27
ranking : 3188
forum activity : 0
Registration date : 2009-02-01

PostSubject: 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.
Back to top Go down
View user profile
 
HTML tutorial #1- base of a website
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» open every link in a new tab?
» HTML Alone
» Need a custom html page?
» How to store a HTML comment in selenium
» How to use ANT build to create HTML reports in Eclispe

Permissions in this forum:You cannot reply to topics in this forum
PGF Gamers :: Computers and Internet :: Building websites :: HTML-
Jump to: